I have modified /etc/login.defs
and set the umask to 002 but it fails to be changed when I exit
or logout
and log back in. My bashrc file does NOT contain any umask settings.
from /etc/login.defs
#
# Umask which is used by useradd and newusers for creating
# new home directories.
#
UMASK 002
Any thoughts on why it's not changing? Despite using Samba, the permissions I'm trying to modify are SSH.