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
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to