UMASK: need help explaining it

Rahul Dhesi dhesi%cirrusl at oliveb.ATC.olivetti.com
Sun Sep 2 07:20:30 AEST 1990


Here's a good explanation:

     You are already provided with a file protection default, which
     allows everybody to read your files, but only allows you to change
     them.  All files you created are created such that only you can
     change them.  (However, your default mailbox directory called Mail
     is protected so that nobody else can read or change anything in
     it.)

     If you do not with others to be able to read any of your files,
     look for a line saying "umask 022" in the file {.login,.profile}
     in your home directory and change it to:

          umask 066

     Once you have made this change and logged in again, all files you
     create will be readable and changeable only by you.

     Other values of umask are possible;  however, we recommend you not
     attempt to use them until you have fully understood the meanings
     of these values.  For further information, see the following
     online manuals:  chmod(1), chmod(2), and umask(2).
--
Rahul Dhesi <dhesi%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!dhesi



More information about the Comp.unix.questions mailing list