[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting the umask globally



martin f krafft wrote:
I need to set the global umask to 007. The files in which umask is
set are:

  /etc/profile: default at 022, i changed that to 007.
  /etc/login.defs: default at 022, i changed that to 007.
  /etc/skel/.bash_profile | /home/*/.bash_profile: commented out

Nevertheless, the umask of a new SSH session is still 022. What am
I missing?


Could it be that you have a umask line in your ~/.bash_profile or ~/.bashrc ?

If yes - comment them out and log in again.

-Øyvind





Reply to: