Mailinglist Archive: opensuse (3491 mails)
|< Previous||Next >|
Re: (SLE) Loss of directory access
- From: "P.T. (Nevada)" <nevada@xxxxxxxxx>
- Date: Mon, 14 Jul 2003 22:22:19 -0700
- Message-id: <3F138F8B.1080908@xxxxxxxxx>
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
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
The . is standard Unix notation for the current directory, and .. is the
notation for the parent directory (except the root directory .. points
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.
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 <gaf@xxxxxxx> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Thanks Jerry for the suggestions. I have tried all you suggested and those others that I could think of.
Chown, chmod, fsck, etc did not work. I still cannot access those directories. Looks like they are just lost to me.
I'm thinking that the only way would be to go into the disk structure itself and correct the problem. I don't know of a linux program that would do this tho. Something like the old Norton Utilities could do.
Thanks for the help
|< Previous||Next >|