[MacPorts] #43944: postgresql91-server @9.1.13_0 changes groups of all users

MacPorts noreply at macports.org
Sat Jun 7 13:33:11 PDT 2014


#43944: postgresql91-server @9.1.13_0 changes groups of all users
----------------------------------+--------------------------------
  Reporter:  dcabrilo@…           |      Owner:  macports-tickets@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.3.0
Resolution:                       |   Keywords:  postgres group
      Port:  postgresql91-server  |
----------------------------------+--------------------------------

Comment (by ryandesign@…):

 The postgresql91-server port just uses the MacPorts `add_users` procedure,
 which lets ports add users and group. Ports don't get to specify ids;
 MacPorts should just pick the next free user or group id.

 Were the before and after listings you provided taken from the same
 computer, running the same copy of OS X? Or did you move a removable disk
 to another computer, or boot to a different copy of OS X, between the
 before and after? I ask because the table of user and group names is
 stored in the OS, while the disk only stores the user and group ids. So if
 you have one computer with group "staff" with group id 502 and create a
 file or directory with that ownership, then move it to a different
 computer or OS X installation where group id 502 is "postgres", then that
 would account for the difference you see. You didn't mention that, so that
 seems unlikely. However I am not sure what other explanation to offer;
 what you describe should not be possible.

-- 
Ticket URL: <https://trac.macports.org/ticket/43944#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list