#1327: Fix permissions in Fragement Cache Subdirectories
-------------------------------+--------------------------------------------
 Reporter:  j...@…             |       Owner:  david         
     Type:  enhancement        |      Status:  new           
 Priority:  normal             |   Milestone:                
Component:  _OTHER_            |     Version:  1.0.3         
 Severity:  normal             |    Keywords:  fragment cache
Has_patch:  1                  |  
-------------------------------+--------------------------------------------
 Hey,

 the mkdir with recursive flag does not set permissions for the directories
 created on the way to create the favored directory.

 cache/content[/sub-dir/sub-dir2/]dir

 sub-dir and sub-dir2 has wrong permissions :(.

 So I put a small patch together to fix that issue. It also sets
 permissions according to the cache-directory, which helps clearing the
 cache on the commandline if the webserver runs with a different user.

 Kind regards,
   Jan

-- 
Ticket URL: <http://trac.agavi.org/ticket/1327>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to