Operating System - HP-UX
1834206 Members
2191 Online
110066 Solutions
New Discussion

Re: Umask did not match with user profile

 
SOLVED
Go to solution
Van Nguyen_1
Occasional Contributor

Umask did not match with user profile

Hello

The UMASK is setting at 002 in the user (informix) /home/informix/.profile but it displayed 00 when type UMASK at the console. Why is the # "2" missing? Does 00 means onwer/group can rwx and other/word have nothing?

Thanks for you help
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: Umask did not match with user profile

Hi:

If the response to typing 'umask' is "00" then the umask setting is zero. From the man pages: "Depending on implementation, the display consists of one to four octal digits; the first digit is always zero...".

...JRF...
Pedro Sousa
Honored Contributor

Re: Umask did not match with user profile

Hi!
are you sure the umask is correctly set?
If it is all zeros (000) it will show only "00" when you run 'umask'.
check the umask with 'umask -S'.

good luck.