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
Describe the bug
When doing archive-dump for code, if a symlink in the code leads to a directory outside the project code being archived, an error will be thrown.
To Reproduce
Create a symlink inside a project whose linked content is outside the project
Run drush archive:dump --code
Expected behavior
An archive will be generated successfully.
Actual behavior
In ArchiveDumpCommands.php line 213:
[UnexpectedValueException]
Iterator RecursiveIteratorIterator returned a path "{{symlink-destination}}" that is not in
the base directory "{{tmp-directory}}"
Workaround
Remove the symlink
System Configuration
Q
A
Drush version?
10.x/11.x/12.x
Drupal version?
10.x/9.x/8.x/7.x
PHP version
8.x/7.x
OS?
Mac/Linux
Additional information
This has only been verified in some configurations, but likely exists in most or all of them.
The text was updated successfully, but these errors were encountered:
Describe the bug
When doing
archive-dump
for code, if a symlink in the code leads to a directory outside the project code being archived, an error will be thrown.To Reproduce
drush archive:dump --code
Expected behavior
An archive will be generated successfully.
Actual behavior
Workaround
Remove the symlink
System Configuration
Additional information
This has only been verified in some configurations, but likely exists in most or all of them.
The text was updated successfully, but these errors were encountered: