RPM Community Forums

Mailing List Message of <rpm-users>

Re: How not to lose rpm owner/group info on unpack?

From: Marc MERLIN <marc_rpm@merlins.org>
Date: Tue 09 Nov 2010 - 08:26:57 CET
Message-ID: <20101109072657.GR22622@merlins.org>
Argh, no wonder you were confused, I totally typoed the subject line :(
(I meant 'how not to lose' rpm owner/group info on unpack)

On Mon, Nov 08, 2010 at 10:07:16PM -0800, Marc MERLIN wrote:
> > No rpm2cpio splits the cpio payload out of a package. Period.
> So the user and group info is really in the cpio that rpm2cpio spits out,
> but somehow gets lost when cpio unpacks it? Very weird...

I will investigate this further tomorrow. It is possible that somehow
rpm2cpio does try to output user/group in the cpio archive it outputs, but
fails, or outputs it in a format that cpio on linux doesn't recognize.

"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  
Received on Tue Nov 9 08:27:14 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.