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?

link|improve this question

55% accept rate
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
feedback

1 Answer

up vote 1 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.

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

Your Answer

 
or
required, but never shown

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