Skip to main content
edited title
Link
muru
  • 77.9k
  • 16
  • 212
  • 318

How umask is umask calculated in Linux?

deleted 226 characters in body
Source Link
Braiam
  • 36.9k
  • 29
  • 114
  • 176

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Note: Migrating this question that will be closed from Stackoverflow per this recommendation.

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Note: Migrating this question that will be closed from Stackoverflow per this recommendation.

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Migration of MSO links to MSE links
Source Link

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Note: Migrating this question that will be closed from Stackoverflow per this recommendationthis recommendation.

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Note: Migrating this question that will be closed from Stackoverflow per this recommendation.

So I know umask can restrict privileged users, using this format umask ugo.

I understand that the read = 4, write = 2, and exec = 1. However, when I type umask, it returns 4 digits which is 0022 or 0073. I have no understanding of how does this work now because there is an extra digit. What is that extra digit and what does 0022 mean?

Note: Migrating this question that will be closed from Stackoverflow per this recommendation.

Source Link
Braiam
  • 36.9k
  • 29
  • 114
  • 176
Loading