Date: Thu, 18 Sep 2003 22:35:54 +1000 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/56980: unprivileged user, extracting of tarballs and pre-install Message-ID: <20030918123554.24E3F6A7101@k7.mavetju> Resent-Message-ID: <200309181240.h8ICeAUJ018396@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56980 >Category: ports >Synopsis: unprivileged user, extracting of tarballs and pre-install >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 18 05:40:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.8-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Aug 17 16:04:25 EST 2003 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386 >Description: Somewhere this winter (southern hemisphere :-) a new feature was enabled which allowed building of ports without being root, it would su to a priviledge user before the actual install. There are two problems with the current implementation: - the pre-install target isn't done as priviledged user, but post-install is. - tarballs with files in it with non-normal permissions (2775 for example, see x11-fonts/font-config) are completely extracted but will exit with an error value of non-zero, causing make(1) to fail. >How-To-Repeat: - Check the output of "make -n install" - As a non-root user, try to "make extract" of x11-fonts/font-config. >Fix: None. Purely informative. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030918123554.24E3F6A7101>