Closed (fixed)
Project:
Drush
Component:
Base system (internal API)
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2012 at 18:22 UTC
Updated:
4 Apr 2012 at 19:06 UTC
Jump to comment: Most recent file
This can be replicated by running drush dl devel. During processing, the following files are created in the temp directory:
-rw------- 1 jhedstrom jhedstrom 9.9K 2012-04-04 11:17 develXNHcV4
-rw-rw-r-- 1 jhedstrom jhedstrom 182K 2012-04-04 11:17 drush_tmp_1333563462_4f7c90467c345devel-7.x-1.2.tar.gz
drwxrwxr-x 3 jhedstrom jhedstrom 4.0K 2012-04-04 11:17 drush_tmp_1333563462_4f7c90467c345
However, only
-rw------- 1 jhedstrom jhedstrom 9.9K 2012-04-04 11:17 develXNHcV4
drwxrwxr-x 3 jhedstrom jhedstrom 4.0K 2012-04-04 11:17 drush_tmp_1333563462_4f7c90467c345
are removed, leaving
-rw-rw-r-- 1 jhedstrom jhedstrom 182K 2012-04-04 11:17 drush_tmp_1333563462_4f7c90467c345devel-7.x-1.2.tar.gz
in place.
For a more dramatic demonstration, build a make file or two in the tests/makefiles directory.
I'm digging into this now.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush-temp-files-1515384-02.patch | 870 bytes | jhedstrom |
Comments
Comment #1
jhedstromThe pm-download problem is in
wget.inc:Where
$request['base_project_path']and$filenameshould have a '/' between them. Without this, it simply creates a new file that isn't registered for deletion.Comment #2
jhedstromTests are all passing locally with this patch.
Comment #3
jhedstromCommitted #2 in d03b2d3.