file-permissions
file-permissions copied to clipboard
Add option to set ACL using sudo
Hi,
I've a symfony application on my server. I want to set ACL on some directories to grant both ubuntu (deployer) and www-data (application) users.
The problem is that www-data create some files in those directories, making deploy:set_permissions:acl
not working as ubuntu is not the owner of that files...
I wanted to know if it's possible to use deploy:set_permissions:acl
with a sudo priviledge to ignore the file owner.
Might I suggest not only setfacl but also for chown, chgrp & chmod