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?

Thank you.



 On Monday, August 23, 2021, 04:46:48 PM EDT, François Patte
<francois.pa...@mi.parisdescartes.fr> wrote:

Bonjour,

What is the default umask for root?

Until now I thought it was 0022, but, today I can see it is 0077....

Has something been changed somewhere in my install? Where?

Thank you.

--

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
_______________________________________________
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

--
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