Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.