Re: some permissions failures with Archive::Tar::Wrapper
[email protected] (Alceu Rodrigues de Freitas Junior via cpan-testers-discuss)
| Newsgroups | perl.cpan.testers.discuss |
|---|---|
| Message-ID | <[email protected]> |
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 localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ rm -rf bar/ localhost:~/.cpan/build/Archive-Tar-Wrapper-0.40-0$ tar -x -v -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 Besides improving the test error message (to show the real octal value), there isn't much more to do it. I don't think skipping the test on Alpine is a better option: after all, the tar over there is indeed broken. What do you think?