[torqueusers] epilogue.precancel permissions

Garrick Staples garrick at clusterresources.com
Tue Aug 22 15:29:36 MDT 2006


On Tue, Aug 22, 2006 at 02:31:12PM -0600, Lloyd Brown alleged:
> Hey all,
> 
> We're trying to do some testing to implement the use of
> epilogue.precancel scripts
> (http://www.clusterresources.com/wiki/doku.php?id=torque:appendix:g_prologue_and_epilogue_scripts)
> on Torque 2.1.2.  According to the documentation, it needs to be
> executable by root, and not be writable by anyone else.  Is this
> accurate?  I've been trying several different variations on test scripts
> to no avail.  I've even tried leaving the script blank, with just the
> "#!/bin/bash" line at the top.  In all cases, I get an entry like the
> following in the mom log:
> 
> > 08/22/2006 14:20:52;0001;   pbs_mom;Svr;pbs_mom;run_pelog, prolog/epilog failed, file: /usr/spool/PBS/mom_priv/epilogue.precancel, exit: -1, Permission Error
> > 08/22/2006 14:20:52;0001;   pbs_mom;Svr;pbs_mom;kill_job, precancel epilog failed
> 
> Here are the permissions on the file:
> 
> > # ls -l /usr/spool/PBS/mom_priv/epilogue.precancel
> > -r-x------  1 root root 121 Aug 22 14:19 /usr/spool/PBS/mom_priv/epilogue.precancel
> 
> 
> Any ideas?

It must also be read/exe by other.  Just use 755.



More information about the torqueusers mailing list