[SunHELP] missing parent directory

Lyndon Griffin sunhelp at sunhelp.org
Tue Jun 5 12:00:59 CDT 2001


This is about the strangest problem I've ever encountered.  Having
problems in a particular mounted file system where anything that tries to
do a getcwd fails:  this includes man, df, and many others.

Here's a look at the culprit filesystem:
rage:/m05/$ ls -la
./..: Permission denied
total 0
drwxr-xr-x   4 root     root          96 May 22 21:42 .
drwxr-xr-x   2 root     root          96 May 23 11:01 lost+found

anyone catch it?  maybe comparison against a different mounted filesystem
will show:
rage:/m04/$ ls -la
total 6
drwxr-xr-x   4 root     root          96 Mar 22 22:08 .
drwxr-xr-x  33 root     root        1024 May 31 19:21 ..
drwxr-xr-x   2 root     root          96 May  4 20:24 lost+found

the ./.. permission denied is curious, so here's a look at /:
rage://$ ls -la .
total 1075
drwxr-xr-x  33 root     root        1024 May 31 19:21 .
drwxr-xr-x  33 root     root        1024 May 31 19:21 ..
drwxr-xr-x   5 root     root         512 Jan 15 15:31 benchmark
lrwxrwxrwx   1 root     root           9 Jan  8 21:10 bin -> ./usr/bin
drwxr-xr-x   4 root     nobody       512 May 25 04:51 cdrom
drwxr-xr-x  16 root     sys        27648 May 31 19:20 dev
drwxr-xr-x  14 root     sys          512 Apr 20 04:50 devices
drwxr-xr-x  37 root     sys         4096 Jun  3 03:10 etc
drwxr-xr-x   3 root     sys          512 Jan  8 22:49 export
dr-xr-xr-x   1 root     root           1 Jun  1 20:15 home
drwxr-xr-x   9 root     sys          512 May 11 18:50 kernel
lrwxrwxrwx   1 root     root           9 Jan  8 21:10 lib -> ./usr/lib
drwx------   2 root     root        8192 Jan  8 21:07 lost+found
drwxr-xr-x   4 root     root          96 May  4 13:07 m01
drwxr-xr-x   4 root     root          96 Apr  6 14:48 m02
drwxr-xr-x   4 root     root          96 Mar 30 16:58 m03
drwxr-xr-x   4 root     root          96 Mar 22 22:08 m04
drwxr-xr-x   4 root     root          96 May 22 21:42 m05
drwxr-xr-x   2 root     sys          512 Jan  8 21:10 mnt
dr-xr-xr-x   1 root     root           1 Jun  1 20:15 net
drwxrwxr-x  12 root     sys          512 May 11 16:04 opt
drwxr-xr-x  19 root     sys          512 May 11 18:49 platform
dr-xr-xr-x  66 root     root      480032 Jun  5 16:56 proc
drwxr-xr-x   9 root     root         512 May 19 21:36 root
drwxr-xr-x   2 root     sys         1024 May 11 18:22 sbin
drwxrwxrwt   4 root     sys          372 Jun  5 16:52 tmp
drwxr-xr-x   6 root     root          96 Apr 16 14:51 u01
drwxr-xr-x   2 root     root         512 Jan 25 03:45 u02
drwxr-xr-x   2 root     other        512 Feb  1 21:16 u03
drwxr-xr-x   2 root     other        512 Feb  1 21:16 u04
drwxr-xr-x  30 root     sys         1024 May 22 20:31 usr
drwxr-xr-x  32 root     sys          512 Apr 19 19:28 var
dr-xr-xr-x   6 root     root         512 Jun  1 20:15 vol
dr-xr-xr-x   1 root     root           1 Jun  1 20:15 xfn

Any suggestions?

-- 
<:)  Lyndon Griffin
     Sr. Systems Engineer
     Naviant (http://www.naviant.com/)

PGP Public Key:  http://bsd4us.org/~lyndon/b/lyndon.pgp




More information about the SunHELP mailing list