[MacPorts] #43944: postgresql91-server @9.1.13_0 changes groups of all users
MacPorts
noreply at macports.org
Fri Mar 2 12:00:23 UTC 2018
#43944: postgresql91-server @9.1.13_0 changes groups of all users
----------------------------------+----------------------------
Reporter: dcabrilo@… | Owner: jyrkiwahlstedt
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords:
Port: postgresql91-server |
----------------------------------+----------------------------
Comment (by ryandesign):
Replying to [comment:2 dcabrilo@…]:
> I didn't move the disk, no. I installed postgresql91-server, then
noticed the file group problem (without restarting or logging out). I went
into panic mode and recovered from Time Machine before this installation
and everything was fine. It's worth mentioning that I installed postgresql
server months or years before and uninstalled without any problems.
When you previously installed postgresql server, was it with MacPorts? Or
some other way? Because if it was with MacPorts, the `postgres` user and
group would have been created by MacPorts at that time. If it was some
other way, I can't predict what it would have done or what users or groups
it would have created with what values.
> After I recovered from Time Machine, macports were not usable (some
missing libraries), so I reinstalled them all. I tried to install
postgresql91-server again, and the same group thing happened. I started
manually chgrp-ing some directories, and when I uninstalled
postgresql91-server everything was back to normal.
I don't see how uninstalling a port could fix this. MacPorts doesn't
contain any code to remove a user or group once it's been created.
> Any idea on how I could replicate this? How can I see what "MacPorts
add_users procedure" is doing exactly, so I can try only those commands?
This might as well be a bug with OS X.
Search browser:macports-base/src/port1.0/portutil.tcl for `port adduser`
and `proc addgroup`.
--
Ticket URL: <https://trac.macports.org/ticket/43944#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list