Closed (duplicate)
Project:
Theme developer
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2009 at 17:07 UTC
Updated:
5 Nov 2010 at 16:04 UTC
devel_themer_cleanup() doesn't check for ownership on temp files before attempting to delete them. On shared hosting, if any two sites run Devel without setting upload_tmp_dir(), this will generate E_WARNING messages ('unlink(/tmp/devel_themer_14019572574a8f2d12e01b0) [function.unlink]: Operation not permitted') as it attempts to delete the wrong users' files.
Comments
Comment #1
moshe weitzman commentedComment #2
JeremyFrench commentedI am going to mark this as a duplicate of #647536: Theme developer creates too many files we need to change the creation and clean up scripts. I will make sure final fix takes care of this issue too.