Control default modes for new files and directories.
Section: Permissions Ownership and ACLs
Show or set default permission mask
bash
bash
umask 027Explanation
A stricter umask helps keep new files from being world-readable.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Permissions Ownership and ACLs