Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 8
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