[MacPorts] #45461: privoxy: error: The given value 'privoxy' does not match group entry

MacPorts noreply at macports.org
Thu Nov 4 08:51:32 UTC 2021


#45461: privoxy: error: The given value 'privoxy' does not match group entry
-------------------------------+-----------------------
  Reporter:  allamistakeo19@…  |      Owner:  essandess
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.2
Resolution:                    |   Keywords:
      Port:  privoxy           |
-------------------------------+-----------------------

Comment (by hadrabap):

 The problem is really in the primary group of user `privoxy`.


 {{{
 localhost:~ petr$ id privoxy
 uid=504(privoxy) gid=20(staff)
 groups=20(staff),12(everyone),61(localaccounts),702(com.apple.sharepoint.group.2),100(_lpoperator),703(com.apple.sharepoint.group.3)
 }}}

 The group should be `privoxy` instead of `staff`.

 The group `privoxy` exists on my system and has ID `504`.

 This solved the configure issue:

 {{{
 localhost:~ petr$ sudo dscl . -create /Users/privoxy PrimaryGroupID 504
 localhost:~ petr$ id privoxy
 uid=504(privoxy) gid=504(privoxy)
 groups=504(privoxy),12(everyone),20(staff),61(localaccounts),702(com.apple.sharepoint.group.2),100(_lpoperator),703(com.apple.sharepoint.group.3)
 }}}

 What I don't understand is when the `privoxy` user and group is created
 and by whom. It must be dome by MacPorts even before running the configure
 script otherwise the privoxy could never be installed for the first time.
 Hmm…

-- 
Ticket URL: <https://trac.macports.org/ticket/45461#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list