Multiple choice technology operating systems

Command to set the default file permssions of a user

  1. default

  2. set

  3. umask

  4. mask

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The umask command in Unix systems sets the default file permission mask for new files created by the user. It determines which permission bits are automatically removed when creating new files. For example, umask 022 results in new files having permissions rw-r--r-- (644) for regular files and rwxr-xr-x (755) for directories.