On Fri, Mar 19, 2004, Matthias Kurz wrote:

> On Fri, Mar 19, 2004, Michael Schloh von Bennewitz wrote:
> 
> > On Fri, Mar 19, 2004, Mike's List wrote:
> > > On Fri, 19 Mar 2004, Michael Schloh von Bennewitz wrote:
> > >> Then please completely erase /openpkg/RPM/TMP/apache-1.3.29/, log in as root
> > >> and do the following:
> > >>
> > >>   # /openpkg/bin/openpkg rpm --rebuild 
> > >> ftp://ftp.openpkg.org/release/2.0/SRC/apache-1.3.29-2.0.0.src.rpm
> > >>
> > > still returns the same error message
> > >
> > >>   # find /openpkg/RPM/TMP/apache-1.3.29/ -exec ls -ld {} \; 2>/dev/null
> > >
> > > A bunch of files owned by 501:staff, root:other, and 500:500.  501:staff
> > > and 500:500 does not exists on the system.
> > >
> > Here's a clue. If you changed the entries in your /etc/passwd or /etc/group
> > Files (or NIS passwd entries), then it might describe why OpenPKG is writing
> > files using these uid/gid combinations not found on your system.
> 
> Under /openpkg/RPM/TMP/apache-1.3.29/ is the unpacked source, right ?
> When you unpack an archive as root, the (numerical) ids from the archive
> are taken. ...

Just for the completeness: The behaviour of GNU tar is different from
the Solaris tar. GNU tar only takes the original numerical ids from the
archive when the user or group is unknown on the local system. Else the
ids are mapped to the ones of the user/group on the local system. Again,
only when you're root.


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to