[torquedev] [Bug 200] New: pbs_mkdirs chk_tree for checkpoint dir is wrong

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Jul 9 05:33:15 MDT 2012


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=200

           Summary: pbs_mkdirs chk_tree for checkpoint dir is wrong
           Product: TORQUE
           Version: 4.0.*
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: clients
        AssignedTo: knielson at adaptivecomputing.com
        ReportedBy: basv at sara.nl
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0


Created an attachment (id=109)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=109)
pbs_mkdir patch

The checkpoint directory is made with the following permissions:
 *  install install_dir $PBS_SERVER_HOME/checkpoint 1777

But the security check for this directory is wrong:
 *  chk_tree_wrap -d -n $PBS_SERVER_HOME/checkpoint \

Error message:
{{{
chk_tree: Security violation with "/var/spool/torque/checkpoint" -
/var/spool/torque/checkpoint is world writable and not sticky: error #13:
(Permission denied)
}}}

the check must be:
 * chk_tree_wrap -d -n -s $PBS_SERVER_HOME/checkpoint \

The patch also include the fix for issue #199

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list