[MacPorts] #70938: macports-base does change the default users home path in some cases

MacPorts noreply at macports.org
Fri Sep 27 01:06:42 UTC 2024


#70938: macports-base does change the default users home path in some cases
----------------------------+---------------------
  Reporter:  christophecvr  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.10.99
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+---------------------
Changes (by jmroot):

 * component:  ports => base


Comment:

 Also it's not used when not running as root because `seteuid` doesn't
 work. We could add some anti-foot-shooting checks. Maybe warn and ignore
 the `--with-macports-user` value if `--with-no-root-privileges` is used,
 and also reject it if the specified user is a login user?

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


More information about the macports-tickets mailing list