I want to use setfacl to allow a php script owner to delete fastcgi_cache_path files that are owned by nginx. The user has been added to the nginx group.
I have tried: setfacl -d -m u:user:rwx cache
, but it's not working. The script is not even seeing the file using file_exists()
though I've verified it does exist at that location.
What do I need to do? Thanks for any help.