Using gnutar, untarring as the root user preserves ownership on expansion by default. Not sure if FreeBSD uses gnutar (I imagine not), but this is the case with gnutar under Linux. I think this is what happened to him... he said he could not use the RPM release and was working with the source distribution, so I don't think the problem is with the RPM.
-----Original Message----- From: R. David Murray [mailto:bitz@bitdance.com] Sent: Monday, July 10, 2000 10:55 PM To: Chris McDonough Cc: 'Leonardo Kenji Shikida'; zope-dev@zope.org Subject: RE: [Zope-dev] zope and UNIX permissions
On Mon, 10 Jul 2000, Chris McDonough wrote:
Which files? Know that if you untar as root, the files will be 'owned' by whoever tarred it up on our side. Untar it as a normal user. Reset the permissions of the ones you find too permissive. Then let us know so we can change the distribution.
On FreeBSD at least, this is not true. Unless you specify the 'p' (preserve) flag, untaring as root will leave all the files owned by root. I just untared the b4 source distrabution, and the file permissions all look good to me.
The original poster mentioned an RPM and looking for a source release, so perhaps the problem is with the RPM.
--RDM