help setting umask corrently
Dennis Gilmore
dennis at ausil.us
Tue Mar 15 04:19:18 UTC 2011
On Monday, March 14, 2011 11:00:10 PM Chris Smart wrote:
> On Tue, Mar 15, 2011 at 2:54 PM, Gregory Machin <gdm at linuxpro.co.za> wrote:
> > so I ended up with umask 003
>
> Just to make sure you want it, this means everyone can read everyone
> else's data.
>
> It's equal to 774.
>
> -c
the default is 022 with what you have set directories will not be accesable
to people uing the other permissions
on a default setup home dirs are created with 700 so only the user can enter
and all the files inside are not accesable by anyone. with user groups even if
the directory is group readable and writeable no one will be able to access it
but the user. im assuming that you have some users sharing a group and want
them to share data. your probably best going for a umask of 002 unless you
really want to make sure that other cant access anything in which id use 007
anyway it a bit hard to say how best to do it without any context.
Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110314/8563ce5b/attachment.bin
More information about the users
mailing list