help setting umask corrently
Chris Adams
cmadams at hiwaay.net
Tue Mar 15 03:09:46 UTC 2011
Once upon a time, Gregory Machin <gdm at linuxpro.co.za> said:
> I have a hack that sets the usmak for users in /etc/bashrc
>
> umask -S u=rwx,g=rwx,o=r
>
> The problem with this is that at logon it echo's "u=rwx,g=rwx,o=r"
> out.
You are telling umask to print the value with the "-S". Take it out.
I will say that is a rather odd umask value.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the users
mailing list