Re: Archive::Tar does not behave like gnu tar

2008-09-24 Thread Eric Wilhelm
# from David Golden # on Wednesday 24 September 2008 07:33: >> $ tar --help | grep no-same-permissions >> tar: unknown option -- help >> usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] >> [blocksize] [-C directory] [-T file] [-s replstr] [file ...] > >Where's the DWIM option for the DC

Re: Archive::Tar does not behave like gnu tar

2008-09-24 Thread David Cantrell
On Wed, Sep 24, 2008 at 10:33:04AM -0400, David Golden wrote: > Looks like Archive::Tar, while slower, it more consistently > controllable everywhere. Yup. And it's core in 5.10 and can be made a dependency for new releases of CPAN.pm and CPANPLUS. Anyone using old versions of CPAN.pm - well, t

Re: Archive::Tar does not behave like gnu tar

2008-09-24 Thread David Golden
On Wed, Sep 24, 2008 at 10:13 AM, David Cantrell <[EMAIL PROTECTED]> wrote: > NetBSD > > $ tar --help | grep no-same-permissions > tar: unknown option -- help > usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578] [archive] [blocksize] > [-C directory] [-T file] [-s replstr] [file ...] Wher

Re: Archive::Tar does not behave like gnu tar

2008-09-24 Thread David Cantrell
On Tue, Sep 23, 2008 at 10:05:01PM -0400, David Golden wrote: > Please see if they all honor a "--no-same-permissions" flag. > $ tar --help | grep no-same-permissions NetBSD $ tar --help | grep no-same-permissions tar: unknown option -- help usage: tar [-]{crtux}[-befhjlmopqvwzHOPSXZ014578]

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread David Golden
On Tue, Sep 23, 2008 at 7:27 PM, David Cantrell <[EMAIL PROTECTED]> wrote: > If people can point me at some simple tests (sorry, I've not been > following this thread), I can see what these tars do: > NetBSD > FreeBSD > Irix > Solaris > > They all appear to be different - at least, they all res

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread David Cantrell
On Tue, Sep 23, 2008 at 12:53:33PM -0700, Eric Wilhelm wrote: > There is also still an issue using gnu tar if you run as root. > And are there other tar programs? Unfortunately yes. If people can point me at some simple tests (sorry, I've not been following this thread), I can see what these tar

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread David Golden
On Tue, Sep 23, 2008 at 3:53 PM, Eric Wilhelm <[EMAIL PROTECTED]> wrote: > Yeah, sorry. 0. It has a default which is opposite of gnu tar. > >>If it's that easy, I can go patch CPAN.pm right away. Done: CPAN.pm is patched in trunk. > And CPANPLUS I guess. I'm not sure what else happens in > Arch

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread Eric Wilhelm
# from David Golden # on Tuesday 23 September 2008 12:42: >> So, something needs to set $Archive::Tar::CHMOD = 1; to make it >> behave like gnu tar. > >$Archive::Tar::CHMOD = 1 or 0? > >The default is 1.  From the Pod: Yeah, sorry. 0. It has a default which is opposite of gnu tar. >If it's that

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread David Golden
On Tue, Sep 23, 2008 at 3:06 PM, Eric Wilhelm <[EMAIL PROTECTED]> wrote: > So, something needs to set $Archive::Tar::CHMOD = 1; to make it behave > like gnu tar. $Archive::Tar::CHMOD = 1 or 0? The default is 1. From the Pod: By default, Archive::Tar will try to chmod your files to whatever mode

Re: Archive::Tar does not behave like gnu tar

2008-09-23 Thread Eric Wilhelm
# from Shlomi Fish # on Tuesday 23 September 2008 03:00: >[EMAIL PROTECTED] Data-Dump-Streamer-2.08-40]$ ls -l Makefile.PL >-rwxrwxrwx 1 cpan cpan 3792 2006-04-16 18:33 Makefile.PL* Apparently that is using Archive::Tar by way of Archive::Extract (says bingos.) So, something needs to set $Archi