Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .