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

[Condor-users] Job log permissions when running Condor as user "condor"



condor-users:

I am running Condor 7.0.1 as user "condor" with group "condor". I have
setgid condor on the condor_submit executable. When I submit a job as
user "juve", the output and error files are created with the correct
permissions, but the log file is created without group write
permissions. This prevents Condor from writing updates to my log file,
which causes the job to hang.

Here's my test job:

universe = local
executable = /bin/date
transfer_executable = false
output = test_$(cluster).$(process).out
error = test_$(cluster).$(process).err
log = test_$(cluster).$(process).log
notification = NEVER
queue 1

Here is the (partial) output of "ls -al" after I condor_submit the job:

-rw-rw-r-- 1 juve condor   0 2008-10-24 16:57 test_6.0.err
-rw-r--r-- 1 juve condor  84 2008-10-24 16:57 test_6.0.log
-rw-rw-r-- 1 juve condor   0 2008-10-24 16:57 test_6.0.out

Does anyone know why Condor isn't setting g+w on the log file?

Thank you,
Gideon