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 was wondering, i have a webfolder and have permissions set to 770 with group being www-data. I would like to give access to one folder to a friend so he can edit images, css, etc. I made that folder 770 with group being site_name with www-data and him being in the group. So far so good it sounds like. However when i use the full path to the directory linux says it doesnt exist.

Is there a way i can make it so he doesnt have r/w file on files inside the parent directories and still access the directory i want to give him?

share|improve this question
    
you already have a perfect answer, but anyway always check the relevant log files which are your friends.. most of the times you can figure out and fix the issue. –  thegeek Jul 21 '10 at 16:39
add comment

1 Answer

up vote 2 down vote accepted

He needs execution access (+x) on the parent directory. He will not be able to see or modify the contents, just traverse it.

The way to provide it is up to you, use a group if you want, or just give (o+x) if you don't care that other people are able to traverse the parent.

share|improve this answer
    
perfect (7 more to go..) –  acidzombie24 Jul 13 '10 at 14:28
add comment

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.