/scripts/securetmp restores with incorrect /tmp permissions

mr.wonderful

BANNED
Feb 1, 2004
345
1
166
We ran securetmp on our box as a test. We told securetmp not to activate on reboot. We rebooted the box to find that /tmp was only barely restored.

After looking at /tmp there was no more mysql.sock, horde.log, .s.PGSQL.5432= and .font-unix/ was missing. :confused:

The reason? Because /tmp had a permission of

drwxr-xr-x 3 root root

instead of

drwxrwxrwx 3 root root

Therefore on reboot none of the files above werre recreated in /tmp.

If your running securetmp and you think your going to have a working /tmp when you reboot you better think again.

After i rebooted with the proper /tmp permission mysql.sock and .font-unix was recreated however what about horde.log and .s.PGSQL.5432=????
 

nickn

Well-Known Member
PartnerNOC
Jun 15, 2003
619
1
168
Put in a bug report on this...I haven't seen the script lately, as i don't have acccess to a CPanel server at the moment, but I thought it did 1777.
 
Last edited: