Add ACL for apache user:
First see what ACLs exist already:
root@server1 mysite.org]# getfacl /var/www/vhosts/mysite.org/uploads
getfacl: Removing leading ‘/’ from absolute path names
# file: var/www/vhosts/mysite.org/uploads
# owner: user1
# group: user1
user::rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::r-x
If apache user isn’t listed, do this:
setfacl -R -m u:apache:rwx /var/www/vhosts/mysite.org
setfacl -R -m d:u:apache:rwx /var/www/vhosts/mysite.org
Once you have them working as you want, back them up for safe keeping:
getfacl -R –absolute-names /foo/bar > /home/user/faclbackup