Opened 9 years ago
Last modified 7 years ago
#48045 closed defect
dbus "no_root" fails to install — at Version 1
Reported by: | ocroquette (Olivier Croquette) | Owned by: | mcalhoun@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | dbus |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Command: "port install dbus +no_root
", with the target directory in my user directory
The first error is:
error renaming "/Users/user/bin/macports/var/macports/software/dbus/mpextractNk3f1e8H/Library/LaunchAgents/org.freedesktop.dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-session.plist": permission denied
A workaround is to set startupitem_install no
in macports.conf
The second error is:
:debug:activate Backtrace: could not set group for file "/Users/user/bin/macports/var/run/dbus": not owner
(at that point however, the port is already activated, so it's possible to install other ports that depend directly or indirectly on dbus)
Change History (1)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mcalhoun removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mcalhoun@… |
Note: See
TracTickets for help on using
tickets.
The first error is expected, in that it is known that you cannot install files into root-owned locations like /Library if you are not root, so you should ask MacPorts not to attempt to do so. To do that, you should set
startupitem_install no
in macports.conf as you already discovered. This is not specific to the dbus port.I'm not certain about the second issue.