What does Umask 0022 mean?

What does Umask 0022 mean?
Answer
umask 0022 would make the new mask 0644 (0666-0022=0644) meaning that group and others have read (no write or execute) permissions. The “extra” digit (the first number = 0), specifies that there are no special modes. If mode begins with a digit it will be interpreted as octal otherwise its meant to be symbolic.
 

Tìm kiếm

Back
Top