framework
framework copied to clipboard
Config file_mode not used in CachePathManager
Hi,
If you use the "warmup" process from your symfony bundle project, then the cache can be written by another user. Since you don't use the "file_mode" config in the CachePathManager, there is no way to handle it.
Maybe instead of doing that : mkdir($this->cacheDir, 0770); you could use directly the file_mode option from the config ?