I've installed xampp on my MacBook with macOS 10.12, Sierra. Everything works fine, but I created php app with slim framework witch creates cache files.
The problem is that I have no permissions to these files, I can not delete them because this files belongs to user daemon.
I've tried to change user in xampp https.conf
but when I change user to my username apache will not start:
ERROR: Failed to restart "apache": cannot stop service: AH00543: httpd: bad user name
Anybody know how to deal with this problem?
UPDATE:
folder path is nfs://192.168.64.2/opt/lampp/htdocs/2017/cache
I try this command when I am in 2017 folder:
sudo chmod -R +a "staff allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" cache
And i get
chmod: Failed to set ACL on file 'cache': Operation not supported
chmod: Failed to set ACL on file '5d': Operation not supported
chmod: Failed to set ACL on file 'dc': Operation not supported
chmod: Failed to set ACL on file '5ddcda0f8a5b896924f37eaa7d4701bffab1d462': Operation not supported
sudo chmod -R 777 cache
chmod: Unable to change file mode on cache/5d: Operation not permitted
chmod: Unable to change file mode on cache/5d/dc: Operation not permitted
chmod: Unable to change file mode on cache/5d/dc/5ddcda0f8a5b896924f37eaa7d4701bffab1d462: Operation not permitted
UPDATE
Problem solved by install older version of xampp witch files are not in network shared folder but in /Applications/Xampp
There is no problem with virtual hosts and folders permissions