Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I defined two Samba network drives to /mnt on a server. Our network uses LDAP authentication.

For some reason it seems like at some point the priviledges were lost. Now /mnt looks like

d?????????  ? ?    ?       ?                ? foo
d?????????  ? ?    ?       ?                ? bar

And I can't do anything to those directories. Deleting by name or inode doesn't work ("permission denied" even for root) so what can I do? Root doesn't seem to have any rights to those directories.

share|improve this question

1 Answer 1

This happens when you don't have execute permissions on a folder, but you have read permissions. I was able to reproduce the error this way:

$ mkdir test
$ touch test/tt
$ ls -l | grep test
drwxr-xr-x  2 user user   4096 2011-12-27 17:05 test
$ chmod -x test
$ ls -l test
ls: cannot access test/tt: Permission denied
total 0
-????????? ? ? ? ?                ? tt

So, the problem should be fixed after you grant the user the x permission in addition to r.

share|improve this answer
    
Neither chmod nor chown works on that file, unfortunately. –  Marko Poutiainen Dec 28 '11 at 6:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.