My PHP script needs access to some files that are located in a completely different directory.
I have set the ACL for the www-data user to have read permission, but the PHP file_get_contets() function returns an error saying "Permission denied".
It only works if I set the www-data user or group for that directory, which I don't want to do, unless the ACLs don't effect programs running under set users and setting the ownership is the only way to do this.
# owner: user1 # group: group1 # flags: -s- user::rwx group::rwx other::--- default:user::rwx default:user:www-data:rwx default:user:user1:rwx default:user:user2:rwx default:group::rwx default:mask::rwx default:other::---
Thanks in advance