Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2017 16:27:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216146] [patch] ports-mgmt/pkg: Non-root make install botches UIDs with pkg-1.9.4
Message-ID:  <bug-216146-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216146

            Bug ID: 216146
           Summary: [patch] ports-mgmt/pkg: Non-root make install botches
                    UIDs with pkg-1.9.4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: wjenkner@inode.at
                CC: bapt@FreeBSD.org

Suppose INSTALL_AS_USER is not set but that /usr/ports is set up
so that you can build ports as non-root (say, adm) user belonging
to the wheel group, e.g., by `chown -R adm /usr/ports`.

Running `make` in a ports directory as adm user stages files owned
by adm, of course, but `make package` correctly creates files in
the resulting tarball which are owned by root or whatever the plist
specifies.

The point of this bug report is that `make install` used to behave
in the same way before 1.9.4 but now it install files owned by adm.

Perhaps, something like the attached patch is needed?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216146-13>