[277] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: problem with attach

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Aug 17 00:52:56 1995

To: John Hawkinson <jhawk@MIT.EDU>
Cc: davidz@MIT.EDU, netbsd-help@MIT.EDU
In-Reply-To: Your message of "Thu, 17 Aug 1995 00:48:52 EDT."
             <199508170448.AAA11604@lola-granola.MIT.EDU> 
Date: Thu, 17 Aug 1995 00:52:31 EDT
From: Greg Hudson <ghudson@MIT.EDU>


>> ~athena> add scheme
>> mount: realpath /mit/bitbucket: Permission denied
>>  
>> how can I fix this?

> I believe this is caused by some bogus skew between the version of
> mount that we were distributing at the time you installed and
> NFS. Try copying /afs/sipb/system/i386_nbsd1/sbin/mount to
> /sbin/mount (save your old /sbin/mount first) and see if that fixes
> it.

Nope, this happens because you're in a non-world-readable AFS
directory.  cd to /var/tmp (or something) and try again.

(The problem happens because you don't have an AFS PAG, and so tokens
are stored by uid.  This problem will eventually be solved by getting
everyone an AFS PAG when they log in, but that depends on everyone
having a libafs that doesn't have a certain bug relating to PAGs and
xterm.)

(Why does mount care about .?  Well, it's trying to canonicalize a
path using realpath(), which does an open(".") and a chdir() and a
getcwd() and then an fchdir() back to the original directory.)



home help back first fref pref prev next nref lref last post