umask is used to specify the default permissions given to newly-created
files.  It takes an octal parameter similar to chmod, except that the
parameter specifies which permissions are to be turned off (whereas with
chmod you tell it which permissions to turn on).

000 would turn everything on, 777 would turn everything off.

So if you wanted all new files to be created with default permissions
of 754, for instance, you'd use "umask 023".
(how's your octal math?  777 - 754 = 023)

umode with no parameter will show the current setting.

Not the best explanation in the world, but maybe it'll help.

"1stFlight !" wrote:
> 
>   While browsing through some options came upon this one, can anyone
> elaborate?
> 
> Darryl
> 
-- 
Regards,
Jim Reimer - WA5RRH
[EMAIL PROTECTED]
http://www.webzone.net/jdreimer

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to