Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Hold reason: Error from slot2@htnode02 Failed to open /scratch/condor/simple.out as standard output: Permission denied (errno 13)
- Date: Tue, 6 Mar 2018 18:25:32 +0000
- From: Zach Miller <zmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Hold reason: Error from slot2@htnode02 Failed to open /scratch/condor/simple.out as standard output: Permission denied (errno 13)
Hello,
Can you list the ownship and permissions for each directory:
ls -ld /scratch
ls -ld /scratch/condor
ls -ld /scratch/condor/cosit
The output file is opened by condor using our library function called "safe_open" which may fail with a permission error if the ownership or permissions are not safe, security-wise. In fact, if the directory is "writable to all" then that may be exactly the problem. Perhaps try changing the permissions to 0755.
Cheers,
-zach
> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
> Of Frank Bakhit
> Sent: Tuesday, March 06, 2018 12:09 PM
> To: htcondor-users@xxxxxxxxxxx
> Subject: Re: [HTCondor-users] Hold reason: Error from slot2@htnode02 Failed
> to open /scratch/condor/simple.out as standard output: Permission denied
> (errno 13)
>
> Hi Christoph,
>
> The '/scratch/condor/cosit/' dircotry is NFS share the mounted on all
> the condor host. And the user exist on all the host with the same uid
> and the folder is writable to all. The job will create the error, log
> and the output file, but then it will failed to write to output with
> error "Permission denied".
>
> ~ Frank
>
>
> On 03/06/2018 12:52 PM, Beyer, Christoph wrote:
> > Hi Frank,
> >
> > two things, condor, as any other batch system I am aware of will not
> create any directories for you, hence in your case '/scratch/condor/cosit/'
> must be a valid directory.
> >
> > As the condor daemon is supposed to write your outputfile the directory
> needs to be writeable for the condor uid ....
> >
> > Best
> > Christoph
> >
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/