Multiple choice technology operating systems

What is the default value of umask?

  1. 022

  2. 032

  3. 644

  4. 000

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

The default umask value on most Unix/Linux systems is 022, which sets default permissions to 755 for directories and 644 for files (subtracting 022 from 777/666). Option B (032) would produce unusual permissions, 644 represents file permissions not umask, and 000 would give full permissions to all users.