Why such "loose" permissions?

Net Llama! netllama
Mon May 17 11:56:45 PDT 2004


umask uses inverted numbering from chmod.  Thus, 'chmod 777' would be the
same as a umask of '000'.  'chmod 444' would be a umask of '333'.

On Thu, 11 Dec 2003, M.W. Chang wrote:
> you can set the umask /etc/profile, /etc/config.d/shells/bashrc
>
> I don't quite understand the logic involved.
>
> > Here's the typical perms automatically given to a new file created in my
> > $HOME directory:
> > -rw-r--r--    1 michael  michael         2 Dec 11 09:12 testfile.txt
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com


More information about the Linux-users mailing list