Skip to content

Commit cbc6bce

Browse files
committed
base: allow symlinks outside of the archive
The default behavior was changed by python 3.14, so we pass the argument to revert to the previous one.
1 parent 3fe09f2 commit cbc6bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbstrap/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,7 @@ def pull_archive(cfg, subject):
31913191
os.mkdir(subject.prefix_dir)
31923192
with tarfile.open(subject.archive_file, "r:gz") as tar:
31933193
for info in tar:
3194-
tar.extract(info, subject.prefix_dir)
3194+
tar.extract(info, subject.prefix_dir, filter="fully_trusted")
31953195
else:
31963196
# TODO: Also support packages here.
31973197
raise GenericError("Unexpected subject for pull-archive")

0 commit comments

Comments
 (0)