Ticket #829 (closed defect: fixed)
adduser accepts only group id's
| Reported by: | olt@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.0 |
| Keywords: | Cc: | ||
| Port: |
Description
The function adduser accepts only a numerical group id's.
Description: When a port needs a user and a group, it is not possible to add the user to the new group, because the new group id is unknown.
Solution: Add 'group' to the arguments of adduser or check if the 'gid' argument is not a number and get the group id of the named group.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


'cvs diff -u portutil.tcl' in darwinports/base/src/port1.0/