Multiple choice technology operating systems

What does umask do?

  1. It puts a mask on user accounts

  2. It means unix mask

  3. default permissions

  4. default names

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

umask (user file-creation mode mask) determines default permissions for newly created files and directories. It specifies which permission bits to turn off when creating new files.

AI explanation

umask sets the default permission mask that determines what access rights new files and directories receive when created, by subtracting the mask's bits from the system's base permissions. It doesn't apply to user accounts or naming, only to the default permission bits assigned at creation time.