ports/56980: unprivileged user, extracting of tarballs and pre-install

Edwin Groothuis edwin at mavetju.org
Thu Sep 18 12:40:12 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list