I only noticed this because when I installed tree
it noted /usr/bin/mandb: can't search directory /usr/local/man/man1/: Permission denied
. I checked /usr/local/man/man1
and confirmed that it's set to a restrictive 0700
permission.
I'm running Debian 11 Bullseye. All users are affected and default to a 0077
umask yet none of the common files set it to that value.
I checked
/etc/profile
/etc/bash.bashrc
- the user's
.profile
,.bashrc
- I also grepped for
umask.*77
but it didn't lead me anywhere
This seems to be a Debian default on my system but it's obviously breaking things. How do I get the default 0022
that's mentioned in the Debian docs back?
Any help appreciated