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
When extracting a tarball that includes multiple symlinks that point at the same file, tar will never resolve (or call the callback).
This only occurs when running on Windows and symlinks cannot be created (i.e. not running as an administrator or with developer mode enabled). However, the EPERM failures are not fatal errors so I would consider what's occurring here a bug. This works fine on [email protected] and looks to have appeared around 5.X
In larger tarballs when this situation occurs this causes the extraction to finish and the extracted folder to be incomplete and invalid.
I can still repro this issue on tar 6.1.3/Node.js 14.17.4
Do you have symlink creation disabled? mklink foo package.json should fail with You do not have sufficient privilege to perform this operation.. If you have Developer Mode enabled then disabling it should disable symlink creation
What / Why
When extracting a tarball that includes multiple symlinks that point at the same file, tar will never resolve (or call the callback).
This only occurs when running on Windows and symlinks cannot be created (i.e. not running as an administrator or with developer mode enabled). However, the EPERM failures are not fatal errors so I would consider what's occurring here a bug. This works fine on [email protected] and looks to have appeared around 5.X
In larger tarballs when this situation occurs this causes the extraction to finish and the extracted folder to be incomplete and invalid.
When
tar: 5.0.5, 6.0.5
Node.js: 10.23.0, 12.20.0
n/a
Current Behaviour
In step 3
done!
is never loggedSteps to Reproduce
output.tar.gz
Expected Behavior
At step 3,
done!
is logged and extraction is completedThe text was updated successfully, but these errors were encountered: