I have a parent folder with permission 777 and its child folders with 600 where I am not the owner. I don't see here the folder 'ghi' in my output while using?


find /abc/ -type d -perm 777 2>dev/null 

Folder Structure


Consider 'def' has 777 permission but 'ghi' has 600 permission

closed as unclear what you're asking by dhag, Toby Speight, Tomasz, Kusalananda, GAD3R Feb 14 '17 at 19:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    In your command you state that you only want to see directorios wiht permission 777, so if ghi has perms 600, you will not see it in the output. – StefanR Feb 14 '17 at 7:22
  • What's the question? – Johan Myréen Feb 14 '17 at 11:57

Because of the mode 600 on directory 'def', you do not have permission to traverse it (as non-root), so the find command will fail to to access the contents of 'def'. This is why 'ghi' will not appear in the output.

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