[OpenAFS] fs: You don't have the required access rights on '/afs'

Andreas Schuldei andreas@schuldei.org
Sun, 19 Dec 2004 14:47:53 +0100


hi!

when i do 

fs sa /afs system:anyuser rl

it tells me:

fs: You don't have the required access rights on '/afs'

to make sure i should have the required access rights, i did 
pt_util -p /var/lib/openafs/db/prdb.DB0 -w 

admin.admin 128/20 1 -204 -204
system:administrators 130/20 -204 -204 -204
 admin.admin 1


and i got:

Error while creating system:administrators: Entry for id already
exists
pt_util: Ubik Version number changed during execution.
Old Version = 2.0, new version = 33554432.0

I understand that is ok, right?
and i see the result of that with

tjener:~# pt_util -members
Ubik Version is: 33554432.0
system:backup 2/0 -205 -204 -204
system:administrators 130/20 -204 -204 -204
   admin.admin 1
system:ptsviewers 2/0 -203 -204 -204
system:authuser 2/0 -102 -204 -204
system:anyuser 2/0 -101 -204 -204
   

and i tried to get tokens with 

kinit -k admin/admin
aklog

which did not give me any errors.

but something is wrong anyway:

fs la /afs
fs: You don't have the required access rights on '/afs'

tokens; pts mem system:administrators

Tokens held by the Cache Manager:

User's (AFS ID 1) tokens for afs@tjener.intern [Expires Dec 17
10:55]
   --End of list--
pts: Permission denied ; unable to get membership of
system:administrators (id: -204)

but i should have received tokens, right?


i tried to rectify the /var/lib/openafs/db/prdb.DB0 database by
deleting that file and redoing the pt_util magic and kinit and
aklog steps, but that did not help. 

what is wrong? how do i fix it?


not help.