Where does umask get set at system startup? Mine seems to have changed to 0002 recently

Chris Green cl at isbd.net
Wed Apr 21 20:31:48 UTC 2021


On Wed, Apr 21, 2021 at 08:08:48PM +0100, Peter Flynn wrote:
> 
> 
> On 21/04/2021 17:16, Chris Green wrote:
> > I have quite a few systems running [x]ubuntu, a mix of 20.04, 20.10
> > and maybe others.
> > 
> > The default umask always used to be 0022 but all my systems now have
> > it set to 0002.  I can't see where it's set anywhere in /etc, can
> > anyone tell me how it gets set and why (if it has) the default has
> > been changed from 0022 to 0002?
> 
> I think a user's personal umask is set in ~/.profile and that gets set up
> from the master copy in /etc/skel/.profile
> 
There's no umask settings there on my system.

-- 
Chris Green




More information about the ubuntu-users mailing list