xforty / drush-deploy

Drupal deploy tool based on Capistrano and Drush
https://github.com/xforty/drush-deploy/wiki
Other
35 stars 4 forks source link

Partial fix for issue #14 #15

Closed pearcec closed 11 years ago

pearcec commented 11 years ago

Drupal removes write permission on the sites/default directory and settings.php file. When drush-deploy goes to clean it up it fails leaving dirty releases hanging out. The simple approach is to set the permission back prior to clean up. I choose to blanket set the user permsions to write (u+w) for the entire release directory. I felt it wasn't necessary to be specifically cautious because the next task is to simply rm -rf the directory. The point is to ditch it.

This patch is an effort to clean up issue #14.

pearcec commented 11 years ago

Ditching this since we are using git flow for development not forked repos.