Umask
0%

Permissions · Lesson 4

Umask

Learn how a process umask limits the permission bits requested for newly created files and directories.

A process's file-creation mask, or umask, prevents selected permission bits from being set when that process creates a filesystem object. It is a mask, not a complete default mode: the application first requests a mode, and the kernel removes bits prohibited by the umask.