[OpenAFS] permissions of administrator

Jayen Ashar jayen@science.unsw.edu.au
Sun, 10 Jun 2012 13:49:45 +1000


Hi,

I'm trying to set up an afs cell with a server on ubuntu 12.04 and I'm
having an issue with permissions.  I used the afs-newcell script to
get me most of the way along, and I can get tokens, and [I believe] I
am a superuser, but I seem to have very few permissions.

root@ccrcfs1:~# kinit jayen/admin
Password for jayen/admin@SCIENCE.UNSW.EDU.AU:
root@ccrcfs1:~# aklog
root@ccrcfs1:~# tokens

Tokens held by the Cache Manager:

User's (AFS ID 1) tokens for afs@storm.ccrc.unsw.edu.au [Expires Jun 10 23:31]
   --End of list--
root@ccrcfs1:~# bos listusers 192.168.56.104
SUsers are: jayen.admin
root@ccrcfs1:~# pts mem 1
pts: Permission denied ; unable to get membership of jayen.admin (id: 1)
root@ccrcfs1:~# pts mem 1 -localauth
Groups jayen.admin (id: 1) is a member of:
  system:administrators

--

Also, I tried to configure the top levels of the AFS space, as per
http://docs.openafs.org/QuickStartUnix/ch02s28.html and with the
afs-newcell script, but also see permission errors.  (I disabled
dynroot, not sure if I should have.)

root@ccrcfs1:~# ls /afs
ls: cannot open directory /afs: Permission denied
root@ccrcfs1:~# ps -ef | grep afsd
root      2169     1  0 13:34 ?        00:00:00 /sbin/afsd -afsdb -fakestat
root@ccrcfs1:~# fs sa /afs system:anyuser rl
fs: You don't have the required access rights on '/afs'

Any ideas on something I can try to configure the top levels of the AFS space?

Thanks,
Jayen