Query: umask
OS: v7
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UMASK(2) System Calls Manual UMASK(2)NAMEumask - set file creation mode maskSYNOPSISumask(complmode)DESCRIPTIONUmask sets a mask used whenever a file is created by creat(2) or mknod(2): the actual mode (see chmod(2)) of the newly-created file is the logical and of the given mode and the complement of the argument. Only the low-order 9 bits of the mask (the protection bits) participate. In other words, the mask shows the bits to be turned off when files are created. The previous value of the mask is returned by the call. The value is initially 0 (no restrictions). The mask is inherited by child pro- cesses.SEE ALSOcreat(2), mknod(2), chmod(2)ASSEMBLER(umask = 60.) sys umask; complmode UMASK(2)
Related Man Pages |
---|
umask(2) - mojave |
umask(2) - linux |
umask(3) - linux |
umask(2) - suse |
umask(3) - php |
Similar Topics in the Unix Linux Community |
---|
umask with find |
help on umask |
How to set default permission |
Umask to generate files with rwx permissions for all |
Umask permission |