8000 add optional disablement of symlink validation by bryopsida · Pull Request #119 · mafintosh/tar-fs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add optional disablement of symlink validation #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2025

Conversation

bryopsida
Copy link
Contributor
@bryopsida bryopsida commented Jun 29, 2025

What

Some tarballs have symlinks that are valid after extraction but not from the context of the extraction working directory, specifically, a symlink with an absolute path that is valid once you enter the chroot. An example of tool that creates tarballs like this is lxc distro builder: https://github.com/lxc/distrobuilder, the tar cli program is also able to extract these and prior versions of this module were able to extract these.

This adds the ability to disable symlink validation with a new parameter

validateSymlinks which defaults to true if not provided.

@bryopsida bryopsida changed the title add optional disablement of symlinks add optional disablement of symlink validation Jun 29, 2025
@mafintosh
Copy link
Owner

LGTM, landing on green

@mafintosh mafintosh merged commit 374460e into mafintosh:master Jun 30, 2025
3 checks passed
@mafintosh
Copy link
Owner

3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0