[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] File permission on jobstate.log



On Thu, 16 Oct 2014, R. Kent Wenger wrote:

However, once the DAG starts running and creates the jobstate.log file, you can do a chmod on the file (you can't create the file ahead of time and chmod it before running condor_submit_dag, though).

In fact, if you want to do this automatically you could add a PRE script to the first node of your DAG, and do the chmod in the PRE script, since the jobstate.log file will be guaranteed to exist at that point. (I'm assuming that doing the chmod after the DAG finishes isn't good enough.)

Kent