Stash caches by default only allow read/write access to file's 'owner' and 'group', but not 'other' (660 and 770 octal permissions).
This behavior can be manually modified, for example, using the following settings:
However, this does not follow the same behavior as other caches, such as http/twig/etc:
For these, PHP's umask() is used instead, which allows following the server/vhost configuration, as well as modifying behavior on application-level:
If you don't have access to changing the ACL of the directories, you will need to change the umask so that the cache and log directories will be group-writable or world-writable (depending if the web server user and the command line user are in the same group or not). To achieve this, put the following line at the beginning of the app/console, web/app.php and web/app_dev.php files: