[MacPorts] #70680: sudo @1.9.16 -- sudo: port: command not found

MacPorts noreply at macports.org
Tue Sep 3 22:24:00 UTC 2024


#70680: sudo @1.9.16 -- sudo: port: command not found
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.10.1
Resolution:          |   Keywords:
      Port:  port    |
---------------------+--------------------

Comment (by jmroot):

 Replying to [comment:19 Schamschula]:
 > I'm not sure when this was changed upstream: need to check the release
 notes.

 I remember we went through this years ago when Apple first shipped a
 version that defaulted to sanitising the environment.

 Using whatever PATH happens to be set is not a good (secure) default, but
 adding the MacPorts prefix to the default secure_path might be OK.

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


More information about the macports-tickets mailing list