4 ms·
It is in fact an simple change to UMASK in /etc/login.defs. The default value is different between various Linux distributions and in fact Unix systems as a who
by dfox 6y ago
It is in fact an simple change to UMASK in /etc/login.defs. The default value is different between various Linux distributions and in fact Unix systems as a whole depending on the "pedigree". On the multiuser systems the default tends to be 022 (ie. 755 permission bits => read and execute to everyone), on "internet server" systems 033 (ie. execute to everyone, such that finger and http://foo.bar/~quux/ http://foo.bar/~quux/ works) and 077 on workstation unix systems (ie. $HOME is completely private). And I have strong feeling that the whole story about "systems shared by family" is just PR spin as that setting is simply default in upstream Debian...
- yrro 6y agoWell that supposition can be checked easily... $ dpkg -S /etc/login.defs login: /etc/login.defs https://packages.ubuntu.com/login https://packages.ubuntu.com/login -> hirsuite -> changelog gets you to https://changelogs.ubuntu.com/changelogs/pool/main/s/shadow/shadow_4.8.1-1ubuntu8/changelog https://changelogs.ubuntu.com/changelogs/pool/main/s/shadow/... where you can see this is an ubuntu-specific patch introduced in version 1:4.8.1-1ubuntu8