On Wed, 17 Jul 2024, Max Nikulin wrote:
On 17/07/2024 15:37, Tim Woodall wrote:
umask 077 can come with its own problems when using shared directories.
<https://wiki.debian.org/UserPrivateGroups>
Taking into account old 022 vs. 002 discussions it might be 007.
I'm not a sudo user but IIUC, root inherits the umask, which can then
cause problems when things can't read config files that should be world
readable.
Do you mean the following bug or something else?
No, I'm talking about sudo, not su. I'm not a sudo user so I can't test
but my understanding is that root inherits the umask of the invoking
user (or it used to)