xforty/drush-deploy — pull request #15 by pearcec (2012-12-20 20:50:00+00:00)
Title: Partial fix for issue #14

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.