PWD gives getwd: couldn't open .. on world r-x root directories

Tim Ramsey tar at ksuvax1.cis.ksu.edu
Fri Nov 4 21:04:11 AEST 1988


My guess is that the mount point has the wrong permissions.  Unmount the
file system and check the permissions on the mount directory.  You will
probably want to make it 0755.

I had this problem on an ATT 3B15 running SysV 2.1.2.  The mount point had
permission 000 (I don't know how it got set to that -- I didn't do it!).
When I was root everything was happy.  When I wasn't root things like pwd
and ls -d . (where . was the root of the filesystem) failed.

I just checked this on a VAX 11/780 running 4.3BSD.  The problem is there,
too.

It seems odd that the permissions of the mount point affect access to the
mounted file system.  Is this a bug or feature?

-- 
Timothy Ramsey, USENET Keeper-Upper  | Ada:
BITNET: tar at KSUVAX1                  |         Just say NO!
Internet: tar at ksuvax1.cis.ksu.edu    |
UUCP: ... !{pyramid,ucsd}!ncr-sd!ncrwic!ksuvax1!tar



More information about the Comp.unix.questions mailing list