Operating System - HP-UX
1849964 Members
2868 Online
104049 Solutions
New Discussion

HP-UX 11.00 permissions nightmare

 
Bolek Mynarski
Frequent Advisor

HP-UX 11.00 permissions nightmare

O.K. It's not as bad as it sounds but I just want to make sure that I'm not going insane about it. Again, I've been going on one of our newer systems checking its file permissions and I've noticed that the following directories were set to 777:

/etc/opt/resmon/log
/opt/java/jre [ and below ]
/opt/netscape/dynfonts
/opt/netscape/plugins
/opt/netscape/talkback
/opt/pred/var
/usr/newconfig/var/stm/tools [ and below ]
/usr/share/man/cat*.Z
/usr/binutils/hppa1.1-hp-hpux11.00
/var/opt/common
/var/opt/resmon/log
/var/opt/omni/tmp
var/adm/streams
var/adm/diag
/var/spool/sockets [ and below ]
/var/rbootd
/var/sam/lock
/var/X11/Xserver/logs
/var/stm/config/tools/diagnose/psi
/var/stm/config/tools/exercise
/var/stm/config/sys
/var/stm/data
/var/screen

O.K. I can see some of them being as 777 but all of them???

Is there like a guideline for HP-UX which would list for me directories that absolutely need 777 permissions?

Thanks.
It'snever too late to learn new things...
2 REPLIES 2
eran maor
Honored Contributor

Re: HP-UX 11.00 permissions nightmare

Hi

you can look and this docs :

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1171-90101/B1171-90101_top.html&con=/hpux/onlinedocs/B1171-90101/00/00/77-con.html&toc=/hpux/onlinedocs/B1171-90101/00/00/77-toc.html&searchterms=permissions&queryid=20010723-080933

but i dont know for a cookbook that is handing this issue .

i will install a new system and will write a script that give all the files with the primission of 777 .
love computers
John Payne_2
Honored Contributor

Re: HP-UX 11.00 permissions nightmare

You might want to see what your umask is set to. The default is 00. type in 'umask' and it will give the current value. There is a man page if you need it...
Spoon!!!!