[MacPorts] #67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build

MacPorts noreply at macports.org
Tue May 30 21:33:40 UTC 2023


#67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build
-------------------------------+----------------------
  Reporter:  lukaso            |      Owner:  mascguy
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.8.1
Resolution:                    |   Keywords:
      Port:  shared-mime-info  |
-------------------------------+----------------------

Comment (by lukaso):

 Maybe this helps: `homebrew` handles the same problem by having the user
 do the work when there are privileged things to be done (homebrew is not
 installed with `sudo`).

 It feels like it works and gets around some of the nasties.

 Here's an example post install message:

 {{{
   def caveats
     <<~EOS
       Create the required host directories:
         mkdir -p ~/Library/Application\\ Support/Pow/Hosts
         ln -s ~/Library/Application\\ Support/Pow/Hosts ~/.pow

       Setup port 80 forwarding and launchd agents:
         sudo pow --install-system
         pow --install-local

       Load launchd agents:
         sudo launchctl load -w
 /Library/LaunchDaemons/cx.pow.firewall.plist
         launchctl load -w ~/Library/LaunchAgents/cx.pow.powd.plist
     EOS
   end
 }}}

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


More information about the macports-tickets mailing list