[6495] in Athena Bugs
(RTPC) Version 7.1H: AFS wierdness.
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Nov 29 21:48:53 1990
Date: Thu, 29 Nov 90 21:48:33 -0500
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version: (RTPC) Version 7.1H
System name: portnoy
What's wrong:
/afs/athena/user/e/eichin/mbox is a protected directory (it only has
"rlidwka" access for "eichin", and noone else.) I was grepping through
it and did an attach, and seem to have scrambled my tokens...
portnoy% grep -i clock ~/mbox/*
/mit/eichin/mbox/apollo: 1 large digital alarm clock
20.00
/mit/eichin/mbox/core: "alarm clock",
/mit/eichin/mbox/core: "alarm clock",
/mit/eichin/mbox/core: "alarm clock",
/mit/eichin/mbox/core: "alarm clock",
/mit/eichin/mbox/core: "alarm clock",
/mit/eichin/mbox/core: "alarm clock",
^Z
Stopped
portnoy% bg
[1] grep -i clock ~/mbox/* &
portnoy% attach potluck
ls /mit/potluck/rtbin
{{{ Note that all of a suddent, it starts losing it...}}}
/mit/eichin/mbox/humour: Permission denied
/mit/eichin/mbox/humph: Permission denied
/mit/eichin/mbox/icon: Permission denied
/mit/eichin/mbox/ideas: Permission denied
...
/mit/eichin/mbox/raeburn: Permission denied
/mit/eichin/mbox/rcs.Z: Permission denied
attach: /afs/athena.mit.edu/contrib/potluck linked to /mit/potluck for filesystem potluck
/mit/eichin/mbox/reaper: Permission denied
/mit/eichin/mbox/ret-msg: Permission denied
/mit/eichin/mbox/return: Permission denied
...
/mit/eichin/mbox/zbox: Permission denied
/mit/eichin/mbox/zhackers: Permission denied
/mit/eichin/mbox/zreq: Permission denied
[1] Exit 2 grep -i clock ~/mbox/*
portnoy% grep -i clock ~/mbox/* &
[1] 6503
portnoy% /mit/eichin/mbox/: Permission denied
[1] Exit 1 grep -i clock ~/mbox/*
{{{Oh dear. It's still gone... }}}
portnoy% tokens
Tokens held by the Cache Manager:
[ 1]User's (AFS ID 3382) tokens for afs@rel-eng.athena.mit.edu [Expires Nov 30 03:01]
[ 2]User's (AFS ID 3382) tokens for afs@sipb.mit.edu [Expires Nov 30 02:59]
[ 3]User's (AFS ID 3382) tokens for afs@athena.mit.edu [Expires Nov 3002:59]
[ 4] --End of list--
{{{ That looks alright... }}}
portnoy% fs la ~/mbox
Access list for /mit/eichin/mbox is
Normal rights:
eichin rlidwka
portnoy% ls ~/mbox/mbox
/mit/eichin/mbox/mbox not found (Permission denied)
portnoy% touch ~/foo
portnoy% ls -l ~/foo
-rw-r--r-- 1 eichin wheel 0 Nov 29 21:24 /mit/eichin/foo
portnoy% ls ~/mbox/mbox
/mit/eichin/mbox/mbox not found (Permission denied)
portnoy% cd ~/mbox
/mit/eichin/mbox: Permission denied
portnoy% fs la ~/mbox
Access list for /mit/eichin/mbox is
Normal rights:
eichin rlidwka
portnoy% fs la ~
Access list for /mit/eichin is
Normal rights:
system:anyuser rl
eichin rlidwka
Note here that I *could* "fs la mbox", but not read or cd into it; it
seems inconsistent at best.
{{{{ note: doing an "aklog" restored the access. I couldn't duplicate
it right away; however, *every* time I log in (at least on the RT) I
get messages like
./athena/orom/stringtab.el: Permission denied
./elisp/discuss-ls.el: Permission denied
./bin/Binrt/block: Permission denied
from a "du" I run in parallel with my attaches - though note that none
of the files listed here are actually protected, so it's not exactly
the same symptom as the mbox problem above.}}}
What should have happened:
None of the above... I should never have lost it in the first place,
but likewise I shouldn't have lost *part* of my access.
_Mark_ <eichin@athena.mit.edu>