uMask question
Ralph W. Reid
rreid at sunset.net
Sat Feb 12 14:08:56 EST 2005
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
More information about the Speakup
mailing list