I use SS 3.1.2 with pleasure for some time now. I started using it with a couple of clients and integrated it with my continuous integration server.
Now I am running into a problem that I cannot seem to figure out. Well I know what the problem is, but I'm not sure if there is a configuration part that fixes it.
When I deploy a new version (an updated theme most of the time) of SS, I want to clear the cache directory. The problem is the files inside cache directory are inserted by the www-data user and the permissions are set to 0755 with the www-data user and group. This makes it impossible for the continuous integration user to delete those files.
The cache directory itself has the following persmissions: ciuser:www-data with chmod 0775. The files inside have the permission: www-data:www-data with chmod 0755.
Is there a configuration directive where I can specify what the user/group will be for the files inside the cache directory? Or at least where I can set the permissions for the files inside the cache directory?
Thanks in advance for the help provided.