PR 44498 should probably be closed

J Pipkin <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
Hello,

PR 44498 is regarding tar(1)'s dependence on getcwd(3).
This only exists when /bin/pax is called as "tar", which is only true of 
/bin/tar when building with MKBSDTAR set to "no" in order to not use 
bsdtar from libarchive. The default setting of MKBSDTAR has been "yes" 
since 2019:
--
revision 1.1149
date: 2019-07-24 04:28:29 -0500;  author: roy;  state: Exp;  lines: +3 
-2;  commitid: sK95mlqaQycdihwB;
branches:  1.1149.2;
MKBSDTAR now defaults to yes

Starting to see some modern archives not opening, it's time to make them 
work!
--

Testing:
--
$ mkdir -p test1/test2
$ chmod 111 test1
$ cd test1/test2
$ tar tfv -
^C
$ tar --version
bsdtar 3.7.4 - libarchive 3.7.4 zlib/1.2.13 liblzma/5.2.4 bz2lib/1.0.8
$ ln /bin/pax ~/tar
$ ~/tar -tfv -
tar: Cannot get working directory (Permission denied)
$
--

So while the issue does still exist, it requires trying to use an 
obsolete tar(1).

It probably makes more sense to just close this PR.

Thanks.
J
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.