You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drupal sets the sites/default to r-x for the user. This has the adverse side effect of making the cleanup job fail. As David noted if you blanket set the entire release directory with u+w you can remove the current release. This works, but I think we need to be a bit more surgical. If there is something else that is set wrong, I would want to see it and have drush-deploy fail so we can inspect what happened.
The text was updated successfully, but these errors were encountered:
The cleanup code is a bit more involved. There isn't a specific variable that is referenced. It puts together a list of directories to whack. This is done using local variables. So we need to do the same. Ugly but it will work.
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.
#10 - issuecomment-11558213
Drupal sets the sites/default to r-x for the user. This has the adverse side effect of making the cleanup job fail. As David noted if you blanket set the entire release directory with u+w you can remove the current release. This works, but I think we need to be a bit more surgical. If there is something else that is set wrong, I would want to see it and have drush-deploy fail so we can inspect what happened.
The text was updated successfully, but these errors were encountered: