From owner-freebsd-ports Thu Apr 27 05:59:16 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA11583 for ports-outgoing; Thu, 27 Apr 1995 05:59:16 -0700 Received: from gaudi.diatel.upm.es (gaudi.diatel.upm.es [138.100.49.10]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id FAA11571 for ; Thu, 27 Apr 1995 05:59:12 -0700 Received: by gaudi.diatel.upm.es (4.1/SMI-4.1) Thu, 27 Apr 95 14:57:10 +0200 X400-Received: by mta diatel.upm in /PRMD=/ADMD=/C=/; Relayed; Thu, 27 Apr 1995 14:57:07 UTC+0200 X400-Received: by /PRMD=iris/ADMD=mensatex/C=es/; Relayed; Thu, 27 Apr 1995 14:57:07 UTC+0200 Date: Thu, 27 Apr 1995 14:57:07 UTC+0200 X400-Originator: jmrueda@diatel.upm.es X400-Recipients: non-disclosure:; X400-Content-Type: P2-1984 (2) X400-Mts-Identifier: [/PRMD=iris/ADMD=mensatex/C=es/;950427145707] Content-Identifier: 668 Conversion: Prohibited From: Javier Martin Rueda To: ports@FreeBSD.org Message-Id: <668*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS> Subject: Ownership of extracted sources in ports Mime-Version: 1.0 (Generated by Ean X.400 to MIME gateway) Sender: ports-owner@FreeBSD.org Precedence: bulk After installing FreeBSD 950412-SNAP, I must say that the ports mechanism is quite impressive. At the time being, I just see a glitch: if you are building as root, tar will set the ownership of extracted files to whatever UID/GID they were built with. This will probably make the files owned by an unknown user or by an existing user that has nothing to do with them, except that his/her UID matches the one stored in the tar file. I think that executing "chown -R root.wheel" (ignoring errors, in case it wasn't root who is building the port) or something similar should be done after extracting in the work directory, so that files do not belong to who knows who. Or better yet, tar could be instructed not to extract original ownership, but I haven't seen that option in tar.