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

MacPorts noreply at macports.org
Wed Sep 4 01:51:58 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 Schamschula):

 Well, that defeats the upstream change, which was introduced for a good
 reason.

 Maybe I should keep {{{/usr/local/sbin:/usr/local/bin}}} in the
 {{{secure_path}}}. That should cover most use cases. If someone has
 something in {{{~/bin}}} or elsewhere then they will have to run
 {{{visudo}}} as the notes already suggest.

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


More information about the macports-tickets mailing list