Unreadable directory

Discussion and Technical Support for general software applications and utilities including OS related issues.
Post Reply
yoram
Member
Member
Posts: 76
Joined: February 10th, 2011, 8:58 pm

Unreadable directory

Post by yoram »

Hi
A directory on my server became unreadable to the owner.
I've tried "chmod o+r ..." but still always get status of "d-wxrwxrwx"
If enters as SU the directory looks OK
If going to the graphical file manager (under VNC), the directory symbol has a small "X" on the top right
which means UNREADABLE
Other directories and shares are fine. . .

Could anyone please help me rid of that unreadability?

here is the commands sequence:
Computer name: Caroline
Username: yoram
Unreadable directory: libs (it's under /mnt/storage)

1. Within libs, cant read files
yoram@CAROLINE:/mnt/storage/libs$ ls -l

ls: cannot open directory .: Permission denied



2. read files with sudo
yoram@CAROLINE:/mnt/storage/libs$ cd ../

yoram@CAROLINE:/mnt/storage$ sudo ls -l

total 356736

drwxrwxr-x 5 yoram yoram 4096 2011-03-26 21:31 backups

drwxr-xr-x 3 yoram yoram 4096 2011-02-21 00:40 BitTorrent

-rwxr-xr-x 1 yoram yoram 179 2011-03-03 19:18 deluge-daemon

-rw-r--r-- 1 yoram yoram 364904448 2011-02-26 19:15 Glee.S02E10.HDTV.XviD-LOL.[ VTV].avi

d-wxrwxrwx 11 yoram yoram 4096 2011-03-19 20:38 libs

drwx------ 2 root root 16384 2011-02-16 22:46 lost+found


3. try to change permissions with -R, no success
yoram@CAROLINE:/mnt/storage$ sudo chmod -R o+r libs

yoram@CAROLINE:/mnt/storage$ ls -l

total 356736

drwxrwxr-x 5 yoram yoram 4096 2011-03-26 21:31 backups

drwxr-xr-x 3 yoram yoram 4096 2011-02-21 00:40 BitTorrent

-rwxr-xr-x 1 yoram yoram 179 2011-03-03 19:18 deluge-daemon

-rw-r--r-- 1 yoram yoram 364904448 2011-02-26 19:15 Glee.S02E10.HDTV.XviD-LOL.[ VTV].avi

d-wxrwxrwx 11 yoram yoram 4096 2011-03-19 20:38 libs

drwx------ 2 root root 16384 2011-02-16 22:46 lost+found


4. try again , same results.
yoram@CAROLINE:/mnt/storage$ chmod o+r libs

yoram@CAROLINE:/mnt/storage$ ls -l

total 356736

drwxrwxr-x 5 yoram yoram 4096 2011-03-26 21:31 backups

drwxr-xr-x 3 yoram yoram 4096 2011-02-21 00:40 BitTorrent

-rwxr-xr-x 1 yoram yoram 179 2011-03-03 19:18 deluge-daemon

-rw-r--r-- 1 yoram yoram 364904448 2011-02-26 19:15 Glee.S02E10.HDTV.XviD-LOL.[ VTV].avi

d-wxrwxrwx 11 yoram yoram 4096 2011-03-19 20:38 libs

drwx------ 2 root root 16384 2011-02-16 22:46 lost+found

yoram@CAROLINE:/mnt/storage$
Yoram
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Unreadable directory

Post by Ian »

Try

Code: Select all

chmod u+r /mnt/storage/libs
yoram
Member
Member
Posts: 76
Joined: February 10th, 2011, 8:58 pm

Re: Unreadable directory

Post by yoram »

Thanks Ian. it's good
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Unreadable directory

Post by Ian »

No probs ;)
yoram
Member
Member
Posts: 76
Joined: February 10th, 2011, 8:58 pm

Re: Unreadable directory

Post by yoram »

I've put there O for Owner, but O is others . . .
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Unreadable directory

Post by Ian »

Yeah, it's confusing terminology. Think "u" for User.
Post Reply