1834394 Members
1635 Online
110066 Solutions
New Discussion

umask setting

 
SOLVED
Go to solution
xinoos
New Member

umask setting

Would like to know if there is a global umask setting on HP UNIX v11?
May I know what is the location to view this setting in standard mode?
3 REPLIES 3
Marcin O.
Frequent Advisor

Re: umask setting

Hello
you can set global umask in /etc/profile
add line:
ex.
umask 022 (for permission -rw-r--r--)

Thanks
Marcin
Marcin O.
Frequent Advisor

Re: umask setting

Hi

You haven't assigned any points yet.
If these answers were helpful, please read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Thanks
Marcin
Arturo Galbiati
Esteemed Contributor
Solution

Re: umask setting

Hi Xinoos,
the default mask is u=rwx,g=rwx,o=rwx (000) for HP-UX. Type man umask to see it or umask -s.
It should be set in /etc/profile.

HTH,
Art