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

Re: [Condor-users] Cross-platform submission (Windows->Linux) gives permission denied on execution host

Hi Felix,

On Tuesday, June 21, 2011 at 9:35 AM, Felix Wolfheimer wrote:

Is there a way to force Condor to add the executable flag to whatever
file is specified as "Executable"?
Not directly.

The quick way to solve this would be to use the USER_JOB_WRAPPER setting on your linux execute nodes (see http://www.cs.wisc.edu/condor/manual/v7.6/3_3Configuration.html#18951). Something simple like:

   chmod +x $1
   exec "$@"

Would suffice for your Linux jobs. Save it as /usr/local/bin/condor_job_wrapper and then add:

USER_JOB_WRAPPER = /usr/local/bin/condor_job_wrapper.sh

To your config on your execute nodes.

- Ian

Ian Chesal

Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools