Permission Problems

This is not a CS-Cart issue… Is more like a server related issue, but posting it here may bring up a solution, since i am pretty sure am not the only one with this problem. The cached files and directories that are being created by CS-cart Script on the run, are created with group/Apache user/Apache permission. Once there, in the server, these file can not be deleted unless you log in a terminal with higher rights. I know that for example Joomla and other similar scripts use an ftp account credentials to run the php scripts so the resulting files and dir created have the proper rights. Is there a way to achieve this in cs-cart??

If you’re running as Apache/Apache then you are running in CGI mode which is not recommended. However, you can easily clear the cached directories/files by using: