1. ln -s a drupal core subdirectory (in my case: ~profiles)
2. drush @site ard
3. drush @site arr --overwrite

rmdir([...]/wwwroot/profiles): Not a directory filesystem.inc:134                                                                           [warning]
Destination directory [...]/wwwroot already exists.                                                                                         [error]
Unable to move /tmp/drush_tmp_1337869536_4fbe44e00e850/wwwroot to [...]/wwwroot.                                                            [error]
Unable to restore files to [...]/wwwroot                                                                                                    [error]
rmdir(/tmp/drush_tmp_1337869536_4fbe44e00e850/wwwroot/profiles): Not a directory filesystem.inc:134

workaround:
Delete /wwwroot manualy first, so --overwrite is not needed.

Comments

greg.1.anderson’s picture

Version: 7.x-5.2 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.