I recently built a very simple test environment with oepnSuSE.
As I tried to configure a shared directory, wihtout using ACLs, but with SetGID on that directory instead for some reason, I noticed that the default umask for every user is set to 022 (i.e. 755 on directories & 644 on files).
This is done in
I am used to a umask 002 (i.e. 775 directories / 664 files) for normal users and 022 for the root-user instead.
Shall I change the umask value for useradd in the above mentioned file, if I want to set it as default for all future useradds and how can I change the umask for all existing users on my system (except the root account, of course)?