#1148: AgaviConfigCache::writeCacheFile() permissions error handling is broken
--------------------+-------------------------------------------------------
 Reporter:  david   |       Owner:  david
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:  1.0.2
Component:  config  |     Version:  1.0.1
 Severity:  major   |    Keywords:       
Has_patch:  0       |  
--------------------+-------------------------------------------------------
 [3979] / #1072 fixed the race conditions, but also broke the error
 handling as {{{tempnam()}}} will fall back to the default temp dir if the
 provided directory is not writeable, and in such a case, both
 {{{rename()}}} and {{{copy()}}} (the latter of which has no error-
 surpressing {...@}}} operator) will fail, causing warnings (and afterwards,
 the {{{chmod()}}} call causes another).

-- 
Ticket URL: <http://trac.agavi.org/ticket/1148>
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