It appears that something related to being in a pag breaks unix group
permissions on non-afs files for the first group listed immediately
after the AFS pag groups.

I am able to reproduce this problem on x86 systems running linux 2.6.16
and various openafs versions in the 1.4.1-rc series, but not on a PPC
linux system.

[EMAIL PROTECTED]:/tmp$ id
uid=2840(troy) gid=4000(admin) groups=29(audio),500(qemu)
[EMAIL PROTECTED]:/tmp$ ls -l foo
-rw-r-----  1 root audio 0 May 10 17:06 foo
[EMAIL PROTECTED]:/tmp$ pagsh
[EMAIL PROTECTED]:/tmp$ id
uid=2840(troy) gid=4000(admin) groups=33929,37588,29(audio),500(qemu)
[EMAIL PROTECTED]:/tmp$ cat foo
cat: foo: Permission denied         <<< this should not happen
[EMAIL PROTECTED]:/tmp$ exit
[EMAIL PROTECTED]:/tmp$ cat foo         <<< when not in a pag, it works fine
[EMAIL PROTECTED]:/tmp$ pagsh
[EMAIL PROTECTED]:/tmp$ cat foo
cat: foo: Permission denied
[EMAIL PROTECTED]:/tmp$ id
uid=2840(troy) gid=4000(admin) groups=33929,37589,29(audio),500(qemu)

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to