[9418] in Athena Bugs
rt 7.3P: attach
daemon@ATHENA.MIT.EDU (Calvin Clark)
Mon Jun 8 15:23:42 1992
Date: Mon, 8 Jun 92 15:23:30 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
System name: portnoy
Type and version: RTPC-ROMPC 7.3P
Display type: apa16
What were you trying to do?
See the error that would be reported if I tried to mount
something on /mit/dictionary on portnoy, which has the following
/etc/athena/attach.conf:
#
# $Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/config/files/RCS/attach.conf,v $
# $Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/athena/config/files/RCS/attach.conf,v 1.6 90/08/10 17:22:57 probe Exp $
# $Author: probe $
#
# Attach configuration file
#
nomountpoint ^/etc ^/afs ^/mit/dictionary$
options {nfs}:.* rsize=1400,wsize=1400
ownercheck on
keep-mount on
aklog /bin/athena/aklog
What's wrong:
/mit/dictionary is a symlink to /site/webster. I was able to
mount bitbucket on /mit/dictionary (at which point /site/webster was a
mount point to bitbucket, and the contents of the local directory
/site/webster were not available.)
Replacing /mit/dictionary with /site/webster in the
"nomountpoint" line works; i.e., it prevents users from mounting things
there with attach.
What should have happened:
It should not have let me mount something on /mit/dictionary,
and hence on /site/webster even if /mit/dictionary is a symlink.
Please describe any relevant documentation references:
attach(1)