Date: Thu, 27 Apr 1995 14:57:07 UTC+0200 From: Javier Martin Rueda <jmrueda@diatel.upm.es> To: ports@FreeBSD.org Subject: Ownership of extracted sources in ports Message-ID: <668*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/@MHS>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?668*/S=jmrueda/OU=diatel/O=upm/PRMD=iris/ADMD=mensatex/C=es/>