1833294 Members
3038 Online
110051 Solutions
New Discussion

catm file permissions

 
Eric Ladner
Trusted Contributor

catm file permissions

Does anybody know of a way to change the default permissions used on man pages that are converted to catm pages? On most HP-UX systems I have, they are created 666, even though the umask of the current user is 022 or 027.

Thanks
2 REPLIES 2
Rodney Hills
Honored Contributor

Re: catm file permissions

Since catm files can be written to by anyone who uses "man", it makes some sense that the files would be set up so that anyone can write to them.

If you are concerned about having these files writable, you could run the command "catman" to generate all the catm directories from all the manm directories. Then you could remove the manm directories and change the permissions on the catm directories.

my 2 cents

-- Rod Hills
There be dragons...
Michael Tully
Honored Contributor

Re: catm file permissions

Just as a caveat, be aware that when a HPUX system is built there is no default umask, meaning that all files can and will be created as '666' until a system wide umask is made, the best place of course is /etc/profile
Anyone for a Mutiny ?