#21713 closed defect (fixed)
port load/unload lack root privs
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.8.2 |
Component: | base | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: |
Description
lighttpd was installed with "sudo port install lighttpd" in a non-root MacPorts installation (which is now possible again as of r58524). But I can't start it with "port load".
$ sudo port load lighttpd Error: Target org.macports.load returned: launchctl: CFURLWriteDataAndPropertiesToResource(/Library/LaunchDaemons/org.macports.lighttpd.plist) failed: -10 launch_msg(): Socket is not connected Error: Status 1 encountered during processing.
"sudo launchctl load -w /Library/LaunchDaemons/org.macports.lighttpd.plist", for which "sudo port load lighttpd" is supposed to be an alias, worked fine.
MacPorts 1.8.1
Mac OS X 10.5.8 Intel
Xcode 3.1.2
Change History (5)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Summary: | port load: CFURLWriteDataAndPropertiesToResource(/Library/LaunchDaemons/org.macports.lighttpd.plist) failed: -10 → port load/unload lack root privs |
---|
comment:3 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 1.8.2 → MacPorts Future |
---|
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | MacPorts Future → MacPorts 1.8.2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
See if r60774 fixes this.