Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file_mode not used in CachePathManager #275

Closed
asquel opened this issue Apr 12, 2016 · 0 comments
Closed

Config file_mode not used in CachePathManager #275

asquel opened this issue Apr 12, 2016 · 0 comments
Milestone

Comments

@asquel
Copy link

asquel commented Apr 12, 2016

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 ?

lisachenko added a commit that referenced this issue Apr 26, 2016
* origin/1.x:
  Fixed cache permissions, resolves #275
@lisachenko lisachenko added this to the 2.0.0 milestone Apr 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants