Conversation
…to fix CI This works around regressions from CVE-2026-5704 fixes in tar 1.35+dfsg-3ubuntu0.3. The symptom was: > # ./test.sh --no-make > tar: [..]/svn-repo: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/current: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/format: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/fs-type: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/min-unpacked-rev: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/revprops: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/revprops/0: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/revprops/0/0: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/revs: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/revs/0: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/revs/0/0: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/transactions: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/txn-current: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/txn-current-lock: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/txn-protorevs: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/db/uuid: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/db/write-lock: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/format: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/locks: Cannot mkdir: Invalid cross-device link > tar: [..]/svn-repo/locks/db-logs.lock: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/locks/db.lock: Cannot open: Invalid cross-device link > tar: [..]/svn-repo/README.txt: Cannot open: Invalid cross-device link > tar: Exiting with failure status due to previous errors
Member
Author
|
PS: For anyone looking for a minimal reproducer with tar 1.35+dfsg-3ubuntu0.3: cd "$(mktemp -d)"
mkdir test
echo hello > test/file
tar cf test.tar test
tar xf test.tar --one-top-level="$PWD/out" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This works around regressions from CVE-2026-5704 fixes in tar 1.35+dfsg-3ubuntu0.3.
The symptom was:
CC @kirotawa @canonical-leosilvab @hannob