Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 1995 09:35:53 -0500 (EST)
From:      Michael Olson <olson@cs.odu.edu>
To:        freebsd-questions@FreeBSD.org
Subject:   Strange Mount (I think) Problem
Message-ID:  <Pine.SUN.3.90.950311092228.1858A-100000@galileo.cs.odu.edu>

next in thread | raw e-mail | index | archive | help

I am having problems doing a `cd ..` in a partition mounted on /usr2.
It seems to be a permissions problem but I can't figure out what or where.

ie.

-----------------------------------------------
starscream:/> cd usr2
starscream:/usr2> cd ..
..: Permission denied.
starscream:/usr2> ls -lgad ..
ls: ..: Permission denied
starscream:/usr2> cd /
starscream:/> ls -lgad .
drwxr-xr-x  16 root  wheel  512 Mar 11 09:12 .
starscream:/> ls -lgad usr2
drwxr-xr-x  4 root  wheel  512 Dec 18 21:03 usr2
starscream:/> ls -lga usr2
ls: ..: Permission denied
total 3
drwxr-xr-x   4 root  wheel   512 Dec 18 21:03 .
drwx------  13 root  wheel  1024 Jan  2 23:53 ports
drwxr-xr-x  19 bin   bin     512 Dec 29 01:45 src
starscream:/> runas ls -lga usr2
total 4
drwxr-xr-x   4 root  wheel   512 Dec 18 21:03 .
drwxr-xr-x  16 root  wheel   512 Mar 11 09:12 ..
drwx------  13 root  wheel  1024 Jan  2 23:53 ports
drwxr-xr-x  19 bin   bin     512 Dec 29 01:45 src
starscream:/> cd /usr2/..
/usr2/..: Permission denied.
starscream:/> runas cd /usr2/..
cd: No such file or directory
starscream:/> runas cd /usr2
cd: No such file or directory
starscream:/> runas tcsh
starscream:/> cd usr2
starscream:/usr2> cd ..
starscream:/> 
-----------------------------------------------

-- Mike

"Why Not" is in fact an excellent reason.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.950311092228.1858A-100000>