Multiple choice technology programming languages

What does the command umask 123 do?

  1. It sets file owner permissions to read and write

  2. It sets the permissions of other users to read

  3. It sets group permissions to read and execute

  4. All of them

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

The umask command sets file creation permissions by subtracting the mask from the default permissions. A umask of 123 subtracts 1 from owner, 2 from group, and 3 from others, affecting all three permission sets.