[26185] in Athena Bugs
attach -m
daemon@ATHENA.MIT.EDU (seph)
Wed Nov 17 00:18:24 2004
To: bugs@mit.edu
From: seph <seph@mit.edu>
Date: Wed, 17 Nov 2004 00:16:24 -0500
Message-ID: <w52hdnpt5qv.fsf@lame.message.id>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: bugs-bounces@mit.edu
playing around on brute-force, a Athena Server (sun4) Version 9.3.15
I noticed that attach treats the -m option rather oddly. All this was
done as a user, no root access.
0:02 brute-force[2]:~% attach -n -h -t AFS -e /afs/athena/user/s/e/seph/mount-test/ -m /test
/afs/athena/user/s/e/seph/mount-test/: You are not allowed to attach a locker on /mit
0:02 brute-force[2]:~% attach -n -h -t AFS -m /test -e /afs/athena/user/s/e/seph/mount-test/
attach: /afs/athena/user/s/e/seph/mount-test/ attached to /test for filesystem /afs/athena/user/s/e/seph/mount-test/
0:05 brute-force[2]:~% attach -n -h -t AFS -m /opt/test -e /afs/athena/user/s/e/seph/mount-test/
/afs/athena/user/s/e/seph/mount-test/: You are not allowed to attach a locker on /opt/test
I assume it's intentional that I can't specify /opt/test as a mount
point, but it seems odd that I can specify /test. It seems equally odd
that if I specify the -m option last, I get a very strange error. I'm
not even sure I should be allowed to use -m as a normal user (though
it's a feature I've appreciated)
Lastly, it's confusing having both a athena/bin/attach/attach.c and a
athena/lib/locker/attach.c
seph