Friendly UMASK wanted

Dave Decot decot at hpisod2.HP.COM
Sun Feb 11 22:11:10 AEST 1990


> \> X# @(#)mask 1.0 90/02/02 Maarten Litmaath
> \..., the modes are interpreted upside down.  That is, this script
> \assumes:
> \
> \   $ umask -o
> \   022
> \   $ umask -s
> \   u=,g=w,o=w
> 
> The abovementioned claim is false.  I have umask 022; when I type `mask -s'
> (using version 1), I get:
> 
> 	echo u=rwx,g=rx,o=rx
> 
> [sic]
> Anyway, thanks for your corrections/extensions.

Sorry, you're right.  Since it didn't understand "+" and "-" at all correctly,
I was confused into that impression.

Dave



More information about the Comp.unix.questions mailing list