[MacPorts] #33299: --with-macports-user also sets the group
MacPorts
noreply at macports.org
Sun Feb 19 10:06:29 PST 2012
#33299: --with-macports-user also sets the group
---------------------------------------+------------------------------------
Reporter: thomas.c.jansen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
---------------------------------------+------------------------------------
Installing MacPorts from source will fails with the missing user
"macports" (it would be great if this would be explained in the install
documentation), but this can be overwritten with the "--with-macports-
user" switch for "configure".
However, using "--with-macports-user=root" will result in the following
error message when trying to "sudo make install":
===> making install in doc
/usr/bin/install -c -d -o root -g admin -m 0755 /opt/local
/usr/bin/install -c -d -o root -g admin -m 0755 /opt/local/etc/macports
< prefix.mtree /usr/sbin/mtree -U -e -p /opt/local > /dev/null
< base.mtree /usr/sbin/mtree -U -e -p /opt/local > /dev/null
mtree: line 16: unknown group root
make[1]: *** [install] Error 1
make: *** [install] Error 1
Looking into "./doc/base.mtree" reveals that "root" is also used as the
group:
Preferences uname=root gname=root mode=755
Changing the "gname" to "admin" solves the problem.
--
Ticket URL: <https://trac.macports.org/ticket/33299>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list