[OpenAFS-devel] PAG support breaking non-afs group permissions on linux

Troy Benjegerdes hozer@hozed.org
Fri, 12 May 2006 14:31:31 -0500


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.

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