Closed (fixed)
Project:
Drush
Version:
All-versions-4.x-dev
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2011 at 10:41 UTC
Updated:
8 Apr 2012 at 19:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
kotnik commentedThis patch fixes this.
Comment #2
greg.1.anderson commentedMaybe this should have an
if (!drush_is_windows())test, or better yet, a drush wrapper that might be utilized wherever this sort of thing is needed (if anywhere else?) to fix perms. Maybe copy is the only place, in which case drush_copy is already a sufficient wrapper.Comment #3
kotnik commentedI think that Windows will ignore chmod silently, but I am not sure and can not test since I don't use it.
Could someone confirm?
Comment #4
greg.1.anderson commentedYes, from the chmod manual, it appears you are correct. Probably safe to commit w/out Windows verification, although it would be nice to have.
Comment #5
kotnik commentedSure, here's the test for Windows environment.
But I think that additional wrapper would be an overshot.
Comment #6
greg.1.anderson commentedCommitted #5 to master.
Comment #7
msonnabaum commentedComment #9
jonhattanFor the record. This was changed in #1168812: Respect filesystem permissions to only preserve +x permissions.