[MacPorts] #60871: elasticsearch @7.4.0: User account not created?
MacPorts
noreply at macports.org
Sun Nov 27 14:25:46 UTC 2022
#60871: elasticsearch @7.4.0: User account not created?
------------------------------+---------------------------
Reporter: GarrettAlbright | Owner: gerard.sole@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: elasticsearch |
------------------------------+---------------------------
Comment (by felipou):
I just had this exact same problem when installing the "mongodb" port. The
"_mongo" user was created with uid 505, and gid -1 (saw that with the
command `dscacheutil -q user`). I checked the list of groups (with
`dscacheutil -q group`) and saw that the "_mongo" group was correctly
created with gid 505. So I just changed the gid of the _mongo user to 505
with the command `sudo dscl . -change /Users/_mongo PrimaryGroupID -1
505`, and it seems to have worked, I could properly run mongodb after
that.
--
Ticket URL: <https://trac.macports.org/ticket/60871#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list