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

Robert Heller heller at deepsoft.com
Wed Apr 21 19:17:18 UTC 2021


At Wed, 21 Apr 2021 20:08:48 +0100 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> 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

Also:

/etc/profile
and
/etc/profile.d/


> 
> Peter
> 
> 
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                   




More information about the ubuntu-users mailing list