Name
umask
Synopsis
umask [nnn]
umask [-p] [-S]
Description
Display file creation mask or set file creation mask to octal value nnn. The file creation mask determines which permission bits are turned off (e.g., umask 002 produces rw-rw-r--).
Options
- -p
Display mask within an umask command so that a caller can read and execute it.
- -S
Display umask symbolically, rather than in octal.
Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.