Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to see a tree of directories with a chmod of drwx--x--x ? I know I can manually check by bash script with if [ -d dirname ]. However it is not the solution I am looking for.

Cheers!

share|improve this question
    
I think the answer depends heavily on whether you are the owner of the directories in question and whether you have root access to the system. –  Eroen Mar 20 '12 at 5:25

1 Answer 1

No. You do not have read permissions on the directory and so you are unable to view the contents. Since you only have execute permissions, all you can do is attempt to use filesystem objects which may or may not exist within the directory.

share|improve this answer
    
I guess I am gonna use root and change the chmods. Guess no such protection against nephews. Thanks a lot. –  mastah998 Mar 20 '12 at 5:41

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.