SUMMARY: strange behavior of ls and cd

From: markwag@execpc.com
Date: Fri Jan 24 1997 - 21:07:15 CST


The original message:

> What is going on here?

> /u01 $ ls ..
> ..: Permission denied
> /u01 $ cd ..
> / $ ls -d .
> .
> / $

> This problem is causing all sorts of problems: for example

> /u01 $ man man
> getcwd: Permission denied

> Help!

Generally there were three types of answers:

1. You don't have access to /.
2. You have an NFS permission problem.
3. You don't have access to an underlying mount point.

The answer is 3. /u01 was mounted on a dir where I didn't have
access. The mount hid this fact. Unmounting u01, chmoding 0755 /u01,
and remounting /u01 solved the problem. I anticipate having more
problems like this: being the paranoid type, I made root's umask 027
about 3 weeks ago. I'll just consult my trusty log book to see what I
have done the last three weeks...

I think from the information given one can deduce that 1 is not true
(viz., the permissions on / are at least ------r-x). Admittedly I
wasn't as verbose as I should have been.

Answer 2, though possibly correct, is not correct because all
filesystems are local (I should have mentioned this).

I am very impressed how quickly I received responses and how polite
they were.

Person Answer Type
-----------------------------------
casper@holland.Sun.COM 3
david@cs.newcastle.edu.au 3
avarvit@cc.ece.ntua.gr 3
satish@lvision.com 2
dave@storm.hq.nasa.gov 2
wagstaff@tellabs.com 1
rali@meitca.com 1
nleroy@norland.com 1
dwillard@scires.com 1
ARunde@mms.com 1
atreya@library.ucsf.edu 1
hxktb0@svho1nfs_1.supervalu.com 1
greevy@tell.ascom.ch 1
jim@telecnnct.com 1
Liu.Xu@PRC.Sun.COM 1
jefi@kat.ina.de 1
mrs@cadem.mc.xerox.com 1
fayez@igs.net 1
Dave.Carrigan@iplenergy.com 1
mikey@lanl.gov ?
Phil_Thomas@ferntree.com.au ?

-- 

Mark A. Wagner markwag@execpc.com ------------------------------------------------------------------- The internet protocol does not provide a reliable communication facility. There are no acknowledgments either end-to-end or hop-by-hop. There is no error control for data...There are no retransmissions. There is no flow control. - RFC 791



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT