On Monday, March 14, 2011 11:00:10 PM Chris Smart wrote:
On Tue, Mar 15, 2011 at 2:54 PM, Gregory Machin
<gdm(a)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