Re: [Stable 7] CPIO breakage/

2010-06-18 Thread Sean Bruno
On Thu, 2010-06-17 at 15:13 -0700, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/17 13:53, Peter Jeremy wrote: On 2010-Jun-15 17:22:50 -0700, Xin LI delp...@delphij.net wrote: On 2010/06/15 17:05, Sean Bruno wrote: A little more background. It looks like

Re: [Stable 7] CPIO breakage/

2010-06-18 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/18 10:51, Sean Bruno wrote: On Thu, 2010-06-17 at 15:13 -0700, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/17 13:53, Peter Jeremy wrote: On 2010-Jun-15 17:22:50 -0700, Xin LI delp...@delphij.net wrote:

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Peter Jeremy
On 2010-Jun-15 17:22:50 -0700, Xin LI delp...@delphij.net wrote: On 2010/06/15 17:05, Sean Bruno wrote: A little more background. It looks like symlinks are getting stripped of their '/' which sucks. Ideas? ... e.g. /home/foo/bar - /opt/baz/blob becomes home/foo/bar - opt/baz/blob

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Sean
On 18/06/2010 6:53 AM, Peter Jeremy wrote: On 2010-Jun-15 17:22:50 -0700, Xin LI delp...@delphij.net wrote: On 2010/06/15 17:05, Sean Bruno wrote: A little more background. It looks like symlinks are getting stripped of their '/' which sucks. Ideas? ... e.g. /home/foo/bar - /opt/baz/blob

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/17 13:53, Peter Jeremy wrote: On 2010-Jun-15 17:22:50 -0700, Xin LI delp...@delphij.net wrote: On 2010/06/15 17:05, Sean Bruno wrote: A little more background. It looks like symlinks are getting stripped of their '/' which sucks.

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Sean
On 18/06/2010, at 8:02 AM, Leif Walsh wrote: On Thu, Jun 17, 2010 at 2:54 PM, Sean s...@gothic.net.au wrote: Easy. Create a symlink etc, to /etc Create a file etc/passwd containing whatever you want. This could be an artifact of coming from the Linux world and knowing little about the

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Leif Walsh
On Thu, Jun 17, 2010 at 2:54 PM, Sean s...@gothic.net.au wrote: Easy. Create a symlink etc, to /etc Create a file etc/passwd containing whatever you want. This could be an artifact of coming from the Linux world and knowing little about the BSD kernel (and I should probably lurk a bit longer

Re: [Stable 7] CPIO breakage/

2010-06-17 Thread Leif Walsh
On Thu, Jun 17, 2010 at 3:29 PM, Sean s...@gothic.net.au wrote: It only works if the user extracting already has permission to write there anyway. It's a means of taking advantage of a privileged user who extracts the tar. Bah, you're right. -- Cheers, Leif

Re: [Stable 7] CPIO breakage/

2010-06-16 Thread Doug Barton
On 06/15/10 22:53, Daniel Braniss wrote: A similar 'security feature' was introduced sometime ago, wich 'silently' broke firefox instalation , it refused to allow symlinks in destination directory, of course the error was ignored by 'make install' so it took some time later to find out that

Re: [Stable 7] CPIO breakage/

2010-06-16 Thread Sean Bruno
On Tue, 2010-06-15 at 16:30 -0700, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sean, On 2010/06/15 15:10, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up

Re: [Stable 7] CPIO breakage/

2010-06-16 Thread Sean Bruno
On Tue, 2010-06-15 at 16:30 -0700, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sean, On 2010/06/15 15:10, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up

[Stable 7] CPIO breakage/

2010-06-15 Thread Sean Bruno
http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up the default behavior of cpio. It appears now that -o won't do the same things that it used to: + cd / + find -x . + egrep -v

Re: [Stable 7] CPIO breakage/

2010-06-15 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sean, On 2010/06/15 15:10, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up the default behavior of cpio. [...] We've had to revert

Re: [Stable 7] CPIO breakage/

2010-06-15 Thread Sean Bruno
On Tue, 2010-06-15 at 17:10 -0500, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up the default behavior of cpio. It appears now that -o won't do the same things that it used to: +

Re: [Stable 7] CPIO breakage/

2010-06-15 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/15 17:05, Sean Bruno wrote: On Tue, 2010-06-15 at 17:10 -0500, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up the default

Re: [Stable 7] CPIO breakage/

2010-06-15 Thread Scott Long
On Jun 15, 2010, at 6:22 PM, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/15 17:05, Sean Bruno wrote: On Tue, 2010-06-15 at 17:10 -0500, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up

Re: [Stable 7] CPIO breakage/

2010-06-15 Thread Daniel Braniss
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/06/15 17:05, Sean Bruno wrote: On Tue, 2010-06-15 at 17:10 -0500, Sean Bruno wrote: http://svn.freebsd.org/viewvc/base?limit_changes=0view=revisionrevision=208361 I'm not sure what's up with this update, but it hosed up the