Web lists-archives.com

Re: How to change default umask in Stretch?




I have set /etc/login.defs to a umask of 077. Also, I commented out the USERGROUPS_ENAB entry.

When I create gedit documents (for example), I am getting rw-r--r--. This does not reflect umask 077.

I then went to ~/.profile and set umask there. But this had no effect on anything.

Please advise on where "/etc/profile.local" is. I can find no such entry.

> Is your question based on the documentation contained within /etc/profile and
/etc/login.defs? I don't think "systemd" changed anything, while pam may have. I
still reconfigure globally using /etc/profile.local.

----- Original Message -----
From: "Felix Miata" <mrmazda@xxxxxxxxxxxxx>
To: debian-user@xxxxxxxxxxxxxxxx
Sent: Monday, August 7, 2017 12:50:35 AM
Subject: Re: How to change default umask in Stretch?

Garrett R. composed on 2017-08-06 20:50 (UTC):

> The "old" methods for changing the default umask no longer work in Debian
> Stretch.

> It appears systemd now manages umask. Can someone please describe how I can
> change the default umask setting in Stretch?
 Is your question based on the documentation contained within /etc/profile and
/etc/login.defs? I don't think "systemd" changed anything, while pam may have. I
still reconfigure globally using /etc/profile.local.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/