Le 2021-08-24 10:34, Samuel Sieb a écrit :
On 8/24/21 1:28 AM, François Patte wrote:
> Le 2021-08-23 23:34, Joe Wulf via users a écrit :
>> Check: /etc/bashrc, /etc/profile, /root/.bash_profile and
>> /root/.bashrc, in that order
>
> The only file talking of umask is /etc/bashrc:
>
> if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ];
then
> umask 002
> else
> umask 022
> fi
>
> I don't understand the meaning....
>
> I have another computer with fedora 32 and the default umask for root
> is 0022. Has config been changed from f32 to f34?
All my F34 systems have a umask of 0022 for root, so it must be
something specific to yours.
Maybe, but where is defined the umask for root?
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822