< Perl Programming < Keywords
The umask keyword
umask sets the umask for the process to EXPRESSION, and it returns the previous value. Without EXPRESSION, it only returns the current umask. The permission bits of rwxr-x--- is represented as three octal digits.
Syntax
umask EXPRESSION
umask
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.