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

Re: [Condor-users] startd/schedd not running as root



The jobs are run as user "condor" or whoever is the owner u specified when 
configuring condor. So condor or the owner must have permission to write in 
the working directory

Arun


On Thursday 26 August 2004 11:56 am, David Crim wrote:
> I have configured a small group of desktop Linux boxes to test out
> Condor 6.6.6. I have eleven systems running RedHat 7.3 configured. All
> eleven are communicating with the master and reporting status. So far,
> so good.
>
> When I submit a job to Condor, I get error messages like:
>
> 007 (060.000.000) 08/24 10:11:40 Shadow exception!
>         Error from starter on xxxx.xxxx.xxx.com: Failed to open standard
> output file '/home/xxxxx/condor/uname/uname.out': Permission denied
> (errno 13)
>         0  -  Run Bytes Sent By Job
>         0  -  Run Bytes Received By Job
>
>
> I have to make the working directory world writable and either remove or
> chmod the files uname.out and uname.error. If I remove them, they are
> recreated as uid nobody. I realize that this is because my startd/schedd
> daemons are running as condor instead of root. I can not figure out why
> this is. I start condor_master as root, but the daemons all switch to
> uid condor.
>
> How do I get these daemons to run as root so that jobs submitted to
> Condor will run under the uid of the submitter?
>
> Thanks,
>
> Dave
>
> ----------- uname.sub -----------
> ####################
>
> Executable = uname.sh
> Universe   = vanilla
> #input      = uname.data
> output     = uname.out
> error      = uname.error
> Log        = uname.log
>
> Queue
>
>
> ----------- uname.sh -----------
> #!/bin/bash
>
> /bin/uname -a
>
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> http://lists.cs.wisc.edu/mailman/listinfo/condor-users

-- 
My PGP key is available on all PGP public keyservers under anayar1@xxxxxxxxxxx 
or KeyID 8A0E9415