1832074 Members
3027 Online
110035 Solutions
New Discussion

umask on 11.11 trusted

 
Joy Grammatica
Occasional Contributor

umask on 11.11 trusted

I saw someone else asked this though it may not be the same issue.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=898412

How do I get hpux 11.11 to obey certain functions that are otherwise ignored on a trusted system?

Currently umask is ignored when the system is configured as trusted.

i.e. umask of 0000 or 0022 will still create files without execute perms.

I searched hp.com though did not find other topics pertaining to this.

Thanks :)
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: umask on 11.11 trusted

Umask has little to do with this. Umask cannot put in what was not there to begin with. The default mode for all regular files is 666 (rw-rw-rw-); for directories it is 777 (rwxrwxrwx). Umask is not ignored whether the system is trusted or untrusted. There are two components at play during file creation: 1) the mode argument and 2) umask. Umask modifies the mode argument to produce the actual file mode.
If it ain't broke, I can fix that.
Joy Grammatica
Occasional Contributor

Re: umask on 11.11 trusted

I found the problem. On the new servers, wu was ignoring ftpaccess.