In order to have the umask setting change for all users at login the umask setting in /etc/profile needs to be changed.
1. Use text editor to edit /etc/profile. *Note: You need root access to edit this file.
sudo nano -w /etc/profile
2. Edit the umask line located at the end of the file. *Note: This example is setting the umask to allow the owner and group have read/write while others have no permissions.
umask 007
3. Type in Crtl-X, Y, and hit the Enter key to save and exit.
No comments:
Post a Comment