I want to access a user's directory from a cgi script. I set the acl on the directory successfully but the script still gets "Permission denied" when trying to access that directory. I su'd to apache and have the same problem (so it is not a webserver/script issue). What am I missing?
# getfacl /home/pmedrano/Maildir/cur/ getfacl: Removing leading '/' from absolute path names # file: home/pmedrano/Maildir/cur/ # owner: pmedrano # group: pmedrano user::rwx user:apache:r-x group::--- group:apache:r-x mask::r-x other::--- default:user::rwx default:user:apache:r-x default:group::--- default:group:apache:r-x default:mask::r-x default:other::--- # su -s /bin/bash apache bash-4.2$ ls /home/pmedrano/Maildir/cur/ ls: cannot access /home/pmedrano/Maildir/cur/: Permission denied bash-4.2$ whoami apache bash-4.2$ getfacl /home/pmedrano/Maildir/cur/ getfacl: /home/pmedrano/Maildir/cur/: Permission denied bash-4.2$