One way to deal with this (as with any tarball) is to not preserve
ownership on an untar.   As I mentioned before, if the user you untar as
is the root user, gnutar preserves ownership *by default* (see the
--preserve-permissions option to gnutar).  On the other hand, if you
don't untar as root, file ownership is set to the user who does the
untarring for all files in the tarball.

The 'nobody' user doesn't exist on all UNIX variants, and for the ones
in which it does exist, it does not necessarily have the same UID.  As a
result, changing the ownership of the files in the source tarball to our
'nobody' UID (built on RH Linux) would be not completely adequate for
other UNIX variants and as so is not really a solution.   The problem is
client-side and is defintely not Zope specific.  The solution is to not
preserve ownership when untarring the file.  This means *don't untar as
root*.  This goes for all tarred file collections you install (not just
Zope).

Leonardo Kenji Shikida wrote:
> 
> this is also what I am talking about!
> 
> ----- Original Message -----
> From: Alexandre A. Drummond Barroso <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 11, 2000 7:59 PM
> Subject: [Zope-dev] Zope 2.1.6 packages
> 
> > It would be a good idea to change the user/group that owns any file in the
> Zope tree to nobody.nobody before packaging the product
> > (src and linux packages) instead of delivering with user 509. When this
> user number is already used, and someone is testing Zope as
> > a simple user (not root) the user can loose the control of the files when
> unpack the package.
> > Anyway, it's a simple task and will take almost no time from you.
> >
> > Thanks in advance,
> >
> > Alexandre A. Drummond Barroso
> > IT Software Engineer
> > Intelligenesis Corporation
> >
> >
> >
> >
> > _______________________________________________
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
> 
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to