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

Re: Question on File Permissions



On Sun, Sep 22, 2002 at 01:36:17PM -0700, Debian User wrote:
> Ok, I am learning this umask util.  I'm confused, if you set the umask, 
> is that for any new file created on the linux system, or just the files 
> in the paticular directory that the umask command was run in?

umask affects only the current processes and any of its child processes.
In general, there is no way to set default permissions for files created
in a particular directory.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: