Dear list, whilst searching for the default umask setting and reading several manuals, I came to /etc/ profile.
In this file, the default umask is set. So far so well. But I wondered, why this file is not modified during my updates. As people told, /etc/profile is part of the package base-files and is copied from /usr/share/base-files/profile. Examination of the files showed, there is a differnce between /etc/profiles and /usr/share/base- files/profile. I would have expected, that both foles are identical and /etc/profile will be renewed and overwritten during upgrades. Can someone tell me, why not? And related to this question: Does this behaviour effect other files, too, like bashrc bashrc_aliases and similar? I saw some changes to these files in /etc/skel/, so these might only affect newly added users (whoich I do not have). My system is really, really old, first install was Debian/Etch and then upgraded until today (Bookworm). What shall I say: Debian is running stable since this very, very long time and never failed in a way, I had to reinstall it. Thus, some configuration files might be also very old. However, no problem here, but just want to know, why it is as decribed above. Thanks for a short answer. Best Hans