How To Setup Default umask Under Linux?

Umask is the number subtracted from the standard permissions when creating a file. Example: each new folder is by default created with 777, so when umask is set to 022, the result is that the permissions will be 777 – 022 = 755.

Most of the time umask will already be set by your distro to 022 but you can change it if you like. You can see what umask value is set with:

# umask
0022

If you want to change umask for temporally,

# umask 0044

Note: These value will stay until you log out and then return to its default value.
To make it permanent, edit /etc/bashrc or to your ~/.bash_profile.

For more information Click here

5 comments:

  1. Ты мудак чтоли? Смотри википедию говно!

    ReplyDelete
  2. to make it global isnt it /etc/login.defs not bashrc?

    ReplyDelete
  3. but how to edit? What caracter I have add???

    ReplyDelete
  4. How To Setup Default Umask Under Linux? >>>>> Download Now

    >>>>> Download Full

    How To Setup Default Umask Under Linux? >>>>> Download LINK

    >>>>> Download Now

    How To Setup Default Umask Under Linux? >>>>> Download Full

    >>>>> Download LINK Fz

    ReplyDelete
  5. How To Setup Default Umask Under Linux? >>>>> Download Now

    >>>>> Download Full

    How To Setup Default Umask Under Linux? >>>>> Download LINK

    >>>>> Download Now

    How To Setup Default Umask Under Linux? >>>>> Download Full

    >>>>> Download LINK Rb

    ReplyDelete