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

at my school we have a student unix server with our accounts.

i have installed git on my account, created a repository, and created the acl permissions on the folder repository so other users can access the repository

# file: tp1
# owner: my_account
# group: groupxxx

but friend_account cant even cd to my tp1 directory (permission denied), so i think the problem should be in unix acl permissions..

share|improve this question
up vote 2 down vote accepted

The user needs to be able to cd to every directory above tp1 as well, i.e. friend_account must have the x permission to every directory above tp1. So for example if tp1 is /home/daniel/course1/tp1 then you need

setfacl -m user:friend_account:x /home/daniel /home/daniel/course1

If you give x permission but not r on a directory, your friend will be able to traverse the directory and reach its subdirectories and access any file that (s)he has permission to, but not view the list of files in the directory.

share|improve this answer
thanks :D it worked – Daniel Feb 23 '11 at 4:14

You must log in to answer this question.

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