[OpenAFS] Help: Permission Denied using OpenAFS

Derrick Brashear shadow@gmail.com
Wed, 20 Jul 2011 10:14:00 -0400


On Wed, Jul 20, 2011 at 10:11 AM, Lee Eric <openlinuxsource@gmail.com> wrot=
e:
> Thanks mate, but it seems I have got the tokens already.

your tokens are yours. i assume you can write. what tokens does the
grid scheduler have?

i should have said get (the grid scheduler) tokens and ....

> [huli@submit ~]$ tokens
>
> Tokens held by the Cache Manager:
>
> Tokens for afs@herdingcat.internal [Expires Jul 19 15:27]
> =A0 --End of list--
> [huli@submit ~]$ klist
> Ticket cache: FILE:/tmp/krb5cc_501_v2Rvg9
> Default principal: huli@HERDINGCAT.INTERNAL
>
> Valid starting =A0 =A0 Expires =A0 =A0 =A0 =A0 =A0 =A0Service principal
> 07/18/11 15:27:12 =A007/19/11 15:27:12
> krbtgt/HERDINGCAT.INTERNAL@HERDINGCAT.INTERNAL
> =A0 =A0 =A0 =A0renew until 07/18/11 15:27:12
> 07/18/11 15:27:41 =A007/19/11 15:27:12
> host/server.herdingcat.internal@HERDINGCAT.INTERNAL
> =A0 =A0 =A0 =A0renew until 07/18/11 15:27:12
> 07/18/11 15:27:52 =A007/19/11 15:27:12
> host/client1.herdingcat.internal@HERDINGCAT.INTERNAL
> =A0 =A0 =A0 =A0renew until 07/18/11 15:27:12
> 07/18/11 15:27:58 =A007/19/11 15:27:12
> host/client2.herdingcat.internal@HERDINGCAT.INTERNAL
> =A0 =A0 =A0 =A0renew until 07/18/11 15:27:12
> [huli@submit ~]$
>
> Eric
>
> On Wed, Jul 20, 2011 at 10:06 PM, Derrick Brashear <shadow@gmail.com> wro=
te:
>> i assume the grid scheduler gets/manages the tokens, so the openafs is
>> mostly out of scope. get tokens and you can write.
>>
>> On Wed, Jul 20, 2011 at 10:01 AM, Lee Eric <openlinuxsource@gmail.com> w=
rote:
>>> Hi,
>>>
>>> When I submit a job script from a user home directory I got error
>>> messages from OGS spool.
>>>
>>> 07/18/2011 15:29:55| =A0main|client2|E|shepherd of job 77.1 exited with
>>> exit status =3D 26
>>> 07/18/2011 15:29:56| =A0main|client2|E|can't open usage file
>>> "active_jobs/77.1/usage" for job 77.1: No such file or directory
>>> 07/18/2011 15:29:56| =A0main|client2|E|07/18/2011 15:29:54 [501:14814]:
>>> can't stat() "/afs/herdingcat.internal/home/huli/pool" as stdout_path:
>>> Permission denied KRB5CCNAME=3Dnone uid=3D501 gid=3D100 100 20008
>>>
>>> Here's the script content.
>>>
>>> #!/bin/bash
>>> #$ -N sleep_30s
>>> #$ -S /bin/bash
>>> #$ -wd /afs/herdingcat.internal/home/huli/pool
>>> date
>>> sleep 30
>>> date
>>>
>>> Here's the OpenAFS acl attributes of the work directory.
>>>
>>> [huli@submit ~]$ fs listacl /afs/herdingcat.internal/home/huli/pool
>>> Access list for /afs/herdingcat.internal/home/huli/pool is
>>> Normal rights:
>>> =A0system:administrators rlidwka
>>> =A0huli rlidwk
>>> [huli@submit ~]$
>>>
>>> Any idea?
>>>
>>> Thanks very much.
>>>
>>> Eric
>>> _______________________________________________
>>> OpenAFS-info mailing list
>>> OpenAFS-info@openafs.org
>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>>
>>
>>
>>
>> --
>> Derrick
>>
>



--=20
Derrick