Your message dated Sun, 5 Jul 2026 18:54:30 +0000
with message-id
<byapr05mb5093cac2da26b8a32ce5412db3...@byapr05mb5093.namprd05.prod.outlook.com>
and subject line Closing #774445
has caused the Debian Bug report #774445,
regarding bsdtar: can't add files with //multiple/leading/slashes
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
774445: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774445
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bsdtar
Version: 3.1.2-10
Severity: minor
I wanted to create a tar archive with a path that had multiple leading
slashes[0]. But this doesn't seem to be possible with bsdtar:
$ bsdtar -Pcf test.tar //bin/true && tar -Ptf test.tar
/bin/true
For comparison, GNU tar is happy to create such an archive:
$ tar -Pcf test.tar //bin/true && tar -Ptf test.tar
//bin/true
[0] In case you wonder why would anyone want to do that:
I'm trying to craft archives for testing various archive extraction
software against directory traversal:
https://bitbucket.org/jwilk/path-traversal-samples
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages bsdtar depends on:
ii libacl1 2.2.52-2
ii libarchive13 3.1.2-10
ii libattr1 1:2.4.47-2
ii libbz2-1.0 1.0.6-7+b2
ii libc6 2.19-13
ii liblzma5 5.1.1alpha+20120614-2+b3
ii liblzo2-2 2.08-1.2
ii libnettle4 2.7.1-4
ii libxml2 2.9.2+dfsg1-1+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
Upstream has reviewed this report and concluded that no change is necessary.
See the upstream discussion:
https://github.com/libarchive/libarchive/issues/740
Closing this Debian bug accordingly.
Thanks.
--- End Message ---