[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help! File permissions keep changing...



Incoming from John Hardcastle:
> 
> So the default file permissions don't do what you want.
> $  umask
> Read the manual page for the umask command,
> $ man umask
> As root, change the umask in /etc/profile to reflect the permissions you 
> want.
> # vi /etc/profile
> Then have all users logout and login again.  Their $HOME/.bashrc will 
> read /etc/profile and their umask will reflect your changes.

... Except where their own $HOME/.bashrc changes umask, in which case
you'll be left to track those down.  However, they should stand out
like a sore thumb now.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: