Changes between Initial Version and Version 1 of Ticket #48045


Ignore:
Timestamp:
Jun 14, 2015, 9:41:46 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48045

    • Property Owner changed from macports-tickets@… to mcalhoun@…
    • Property Cc mcalhoun removed
  • Ticket #48045 – Description

    initial v1  
    11
    2 Command: "port install no_root", with the target directory in my user directory
     2Command: "`port install dbus +no_root`", with the target directory in my user directory
    33
    44The first error is:
    55
     6{{{
    67error 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
     8}}}
    79
    8 A workaround is to set startupitem_install=no in macports.conf
     10A workaround is to set `startupitem_install no` in macports.conf
    911
    1012The second error is:
     13{{{
    1114:debug:activate Backtrace: could not set group for file "/Users/user/bin/macports/var/run/dbus": not owner
     15}}}
    1216
    1317(at that point however, the port is already activated, so it's possible to install other ports that depend directly or indirectly on dbus)