[2870] in Athena Bugs
show stopper attach bug
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Tue Aug 15 00:19:38 1989
From: <qjb@ATHENA.MIT.EDU>
Date: Tue, 15 Aug 89 00:19:22 -0400
To: bugs@ATHENA.MIT.EDU, rel-eng@ATHENA.MIT.EDU, tytso@ATHENA.MIT.EDU
In-Reply-To: [2869] in bugs
Attach fails when target directory in AFS is non-statable!
This means that you have to go to root and get tokens as root
before attaching anything that points to a non-public directory!
**=> (primary) soup:/afs/athena.mit.edu/user/q/qjb <=**
% attach -d clhdev
clhdev resolves to:
AFS /afs/athena.mit.edu/project/clhdev w /mit/clhdev
Locking attachtab....Setting lock on /tmp/attach_clhdev: 5
Unlocking attachtab
Processing line AFS /afs/athena.mit.edu/project/clhdev w /mit/clhdev
lstating /afs/athena.mit.edu/project/clhdev...
/afs/athena.mit.edu/project/clhdev: Permission denied
Locking attachtab....Removing lock on /tmp/attach_clhdev
Unlocking attachtab
Exit 26 attach -d clhdev
I should elborate. I am running a 6.3B machine, SOUP.MIT.EDU,
and RT with the most current incremental update.
The problem, however, is not related to this; it is that root
does not have tokens and therefore cannot do the lstat. Perhaps
the user doing the attach should do this part. It is very
dangerous to give root tokens for this kind of operation.