Definition of umask

Niki Kovacs info at microlinux.fr
Wed Aug 6 06:50:14 UTC 2014


Hi,

I'm currently wondering how - or more exactly where - umask is defined 
on a stock Ubuntu server system (12.04 and 14.04).

I have reactivated the root account. Here's the respective default umask 
for root and normal users:

kikinovak at raymonde:~$ umask
0002
kikinovak at raymonde:~$ su -
Mot de passe :
root at raymonde:~# umask
0022

On RHEL/CentOS, these values are defined in /etc/bashrc and then in the 
individual ~/.bashrc files.

How does Ubuntu handle this?

Cheers,

Niki
-- 
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32




More information about the ubuntu-users mailing list