Ticket #33299 (new defect)
--with-macports-user also sets the group
| Reported by: | thomas.c.jansen@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: |
Description (last modified by ryandesign@…) (diff)
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.
Change History
Note: See
TracTickets for help on using
tickets.

