Loss of directory access
![](https://seccdn.libravatar.org/avatar/20888bf5bd7586c50da0d9b4740d0685.jpg?s=120&d=mm&r=g)
I had a system freeze and had to reboot the computer. When the computer came back up, I was missing some sub-directories of the directory /pictures. Using Suse 8.1. I tried chmod +x and it did not help. I have also tried chown and chgrp without sucess. Here is a copy of doing a dir of /pictures. I am also unable to access a couple of directories under /pictures/raw, which gives the same permission denied. ls: kids: permission denied ls: download: permission denied total 1 drwxr-xr-x 8(user) users 168 2003-07-13 17:12 . drwxr-xr-x 29 root root 688 2003-07-13 17.19 .. drwxr-xr-x 10 (user) users 248 2003-01-22 19:54 numbered drwxr-xr-x 12 (user) users 368 2003-01-22 19:44 raw drwxr-xr-x 2 (user) users 528 2003-07-13 13:56 temp I am not sure, but I am thinking that the '.' and '..' are the directories I am unable to access. If I try to create a new directory of kids/download, it gives me 'access denied to /pictures/kids/download. Anyone had an idea how I can get these directory back so I can access them? Paul T.
![](https://seccdn.libravatar.org/avatar/504ea95a4576e6592281bc9e2e98204f.jpg?s=120&d=mm&r=g)
On Mon, 14 Jul 2003 09:14:47 -0700
"P.T. (Nevada)"
I had a system freeze and had to reboot the computer. When the computer came back up, I was missing some sub-directories of the directory /pictures. Using Suse 8.1.
I tried chmod +x and it did not help. I have also tried chown and chgrp without sucess.
Here is a copy of doing a dir of /pictures. I am also unable to access a couple of directories under /pictures/raw, which gives the same permission denied.
ls: kids: permission denied ls: download: permission denied total 1 drwxr-xr-x 8(user) users 168 2003-07-13 17:12 . drwxr-xr-x 29 root root 688 2003-07-13 17.19 .. drwxr-xr-x 10 (user) users 248 2003-01-22 19:54 numbered drwxr-xr-x 12 (user) users 368 2003-01-22 19:44 raw drwxr-xr-x 2 (user) users 528 2003-07-13 13:56 temp
I am not sure, but I am thinking that the '.' and '..' are the directories I am unable to access.
If I try to create a new directory of kids/download, it gives me 'access denied to /pictures/kids/download.
Anyone had an idea how I can get these directory back so I can access them? The . is standard Unix notation for the current directory, and .. is the notation for the parent directory (except the root directory .. points to itself).
Every file system has a lost+found directory. if your disk was corrupted
, fsck may have placed these into lost+found.
I suggest you su to root.
cd /pictures
find . -type d -ls
This will give you a recursive listing of all the directories under
pictures. Certainly a chmod of +x and +r should make those directories
accessable.
I also suggest that you shut down to single user mode and run a manual
fsck just to make sure things are ok.
--
Jerry Feldman
participants (2)
-
Jerry Feldman
-
P.T. (Nevada)