Re: some permissions failures with Archive::Tar::Wrapper
[email protected] (David Cantrell)
| Newsgroups | perl.cpan.testers.discuss |
|---|---|
| Message-ID | <[email protected]> |
On 02/06/2024 03:17, Alceu Rodrigues de Freitas Junior via cpan-testers-discuss wrote: > Hello there, > > Looks like the busybox tar from Alpine is indeed broken: > > localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ id > uid=1000(goku) gid=1000(goku) groups=10(wheel),18(audio),27(video),28(netdev),1000(goku) > localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ tar --version > tar (busybox) 1.36.1 > localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ tar -x -v -p -f t/data/bar.tar > bar/ > bar/bar.dat > bar/foo.dat > localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ ls -l bar/ > total 8 > -rw-r--r-- 1 goku goku 11 Jul 24 2005 bar.dat > -rw-r--r-- 1 goku goku 11 Jul 24 2005 foo.dat > localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ tar -tvf t/data/bar.tar > drwxrwxr-x mschilli/mschilli 0 2005-07-24 16:15:34 bar/ > -rw-rw-r-- mschilli/mschilli 11 2005-07-24 16:15:27 bar/bar.dat > -rw-rw-r-- mschilli/mschilli 11 2005-07-24 16:15:34 bar/foo.dat busybox tar doesn't mention -p in its docs so I don't think it's fair to say that it's broken. It just doesn't support that option. -- David Cantrell