ive got a problem with setting up access control lists for a folder that i want a single user to be able to edit, the permissions were set with the command

setfacl -R -m u:mik:rwx /srv/http/oshttpdocs/

and afterwards the output of getfacl is

# file: oshttpdocs/
# owner: root
# group: root

this is the output of getfacl and yet the user mik cannot even read the directory from the terminal or the gui if anyone has any ideas id be most grateful.

  • 1
    what is the permission/mode of /srv and /srv/http? can the user mik cd to /srv/http/oshttpdocs/? – Daniel t. Feb 12 '13 at 15:41
  • no, cant access it at all for some reason, it can cd into /srv/ and /srv/http though and read everything inside them '# file: /srv/http # owner: root # group: root user::r-x group::r-x other::r-x' – user158659 Feb 12 '13 at 15:49
  • 1
    ah figured out the issue, it was being blocked by my selinux policy >.< – user158659 Feb 12 '13 at 19:54
  • good. that makes sense. – Daniel t. Feb 12 '13 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.