uMask question

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

 



On Fri, Feb 11, 2005 at 12:29:30PM -0600, Glenn at home wrote:
> I cannot figure out from the man pages if umask should equal
> 022 or 077
> if I want users to have full access to files that have been uploaded by 
> other users.
> Thanks for some help here.
> Glenn

For the situation and choices you describe, `umask 022` should do the
trick.  Note that if some one creates an executable file (compiles a
program for example), the default action will be to make the file both
readable and executable with a umask value of 022.  Of course, `umask`
defines the default--file permissions can always be changed with
`chmod` if desired.  HTH, and have a _great_ day!

-- 
Ralph.  N6BNO.  Wisdom comes from central processing, not from I/O.
rreid at sunset.net  http://personalweb.sunset.net/~rreid
...passing through The City of Internet at the speed of light!
CIRCLE CIRCUMFERENCE = 2 * _pi * r




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux