[torqueusers] epilogue.precancel permissions

Lloyd Brown somewhere_or_other at byu.edu
Tue Aug 22 14:31:12 MDT 2006

Hey all,

We're trying to do some testing to implement the use of
epilogue.precancel 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?

Lloyd Brown

More information about the torqueusers mailing list