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.

link|improve this question

feedback

1 Answer

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.

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

Your Answer

 
or
required, but never shown

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