help setting umask corrently
Chris Smart
mail at christophersmart.com
Tue Mar 15 03:44:48 UTC 2011
On Tue, Mar 15, 2011 at 1:03 PM, Gregory Machin <gdm at linuxpro.co.za> wrote:
> Hi.
>
> I have a hack that sets the usmak for users in /etc/bashrc
>
> umask -S u=rwx,g=rwx,o=r
>
A umask is back-to-front, so don't you want something like this in
/etc/skel/bash.profile
umask 077
That means, the user has full rwx, everyone else (including group) has nothing.
-c
More information about the users
mailing list