Programming and posix - April 2002

April 3, 2002
Solution Symposium
Page 9
hp e3000
programming
and posix
permission mode bits
User Group Other
rwx rwx rwx
Specified in chmod command symbolically or as 3 octal
digits:
chmod u=rwx,g=rx,o=x file
equivalent to chmod 751 file
The umask command and function specifies a mask of
permission modes to be disabled when files are created
umask 007 denies all access to other
remains in effect until another umask or logoff