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.

I have a parent directory and a child directory like below.

Can anyone write to the child directory, although the parent restricts only to the owner?

drwxr-xr-x parent
drwxrwxrwx child
share|improve this question

1 Answer 1

If the parent dir has execute permissions (which it has) then you can get to the child dir.

Then the child dir has perms for everyone, so anyone can create files or delete them. The write perms on the parent have nothing to do with write possibilities to the child dir.

share|improve this answer

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.