Request 246 was acted upon.
_________________________________________________________________________
URL: https://rt.openpkg.org/id/246
Ticket: [OpenPKG #246]
Subject: Rpm 4.2.1 tries to unpack source files with permissions intact
Requestors: [EMAIL PROTECTED]
Queue: openpkg
Owner: Nobody
Status: open
Transaction: Correspondence added by rse
Time: Wed Sep 03 16:26:31 2003
________________________________________________________________________
On Wed, Sep 03, 2003, Michael Schloh v. Bennewitz via RT wrote:
> [...]
> Subject: Rpm 4.2.1 tries to unpack source files with permissions intact
> [...]
> The old rpm 4.0.2 unpacked source packages and copied their files
> (typically .spec, *.tar.gz...) irrespective of user and group ownership.
> The new rpm 4.2.1 pays particular attention to the user and group
> ownership, using their values to copy the source files to %_sourcedir.
>
> $ /sw/bin/rpm --rebuild pkg/src/bind8-8.4.1-20030814.src.rpm
> Installing pkg/src/bind8-8.4.1-20030814.src.rpm
> warning: user te does not exist - using root
> warning: group te does not exist - using root
> warning: user st does not exist - using root
> warning: group st does not exist - using root
> [...]
> [...]
I've hacked RPM now so it ignores the file owner/group in
the source RPM on installation. The patch is included in
openpkg-20030903-20030903 and higher and should fix this problem (see
http://cvs.openpkg.org/chngview?cn=12006 for details). Thanks for
preparing by digging into the source, Michael.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]