umask for platform
Get or set default file creation permissions.
Signature
> umask {flags} (permissions)
Parameters
permissions: The permissions to set on created files.
Input/output types:
| input | output |
|---|---|
| nothing | string |
Examples
Print current default file creation permissions.
> umaskMake new files read-only to group and inaccessible to others.
> umask rwxr-x---Notes
When setting a new mask, the previous mask will be returned.