Closed (fixed)
Project:
File Cache
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2012 at 18:58 UTC
Updated:
4 Jun 2017 at 14:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ogi commentedFixed in af29d92.
Comment #3
Mikael Nord commentedUnfortunately, since the files are now
chmod 666and most often located in/tmp, they will in many cases still be writable by anyone on the system. This means that any local user can deface your site and is a major security concern. I suggestchmod 600instead, since cached pages may contain sensitive information (if you are using Authcache for example).chmod 644will make it possible for everyone to read but not to write or to execute the files in your cache bin.Comment #4
Mikael Nord commentedComment #5
geek-merlinwrong status.
Comment #6
socialnicheguru commentedreview this to see if '0600' is sufficient.
Comment #7
geek-merlinWe'd better use drupal_chmod() and it's return code to keep compatible and customizable.
Comment #8
ogi commented