framework icon indicating copy to clipboard operation
framework copied to clipboard

Config file_mode not used in CachePathManager

Open asquel opened this issue 10 years ago • 0 comments

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 ?

asquel avatar Apr 12 '16 12:04 asquel