[MacPorts] #30071: dbus cannot install without root privileges

MacPorts noreply at macports.org
Thu Jul 7 14:23:22 PDT 2011


#30071: dbus cannot install without root privileges
-----------------------------------+----------------------------------------
 Reporter:  etlverified@…          |       Owner:  mcalhoun@…           
     Type:  defect                 |      Status:  new                  
 Priority:  Normal                 |   Milestone:                       
Component:  ports                  |     Version:  1.9.2                
 Keywords:                         |        Port:  dbus                 
-----------------------------------+----------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => mcalhoun@…
  * port:  => dbus


Old description:

> I have installed macports without root privileges by configuring it with
> "--with-no-root-privileges --with-install-user=$USER". This is an
> important use case; a number of developers at my company use macports
> this way (no root access).
>
> I've found that a large number of useful packages depend on dbus (e.g.
> qt4-mac), which fails to install without root privileges:
>

> --->  Activating dbus @1.4.12_0
> Error: Target org.macports.activate returned: error copying
> "/Users/etl/macports/var/macports/software/dbus/1.4.12_0/Library/LaunchAgents/org.freedesktop
> .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-
> session.plist": permission denied
> Error: Failed to install dbus
>
> Could you please make the dbus port somehow install when macports is not
> configured for root access? Something like qt4-mac is just a library; it
> shouldn't need administrator privileges to be installed. Similarly,
> pretty much every app from the GNOME desktop depends on dbus.

New description:

 I have installed macports without root privileges by configuring it with
 "--with-no-root-privileges --with-install-user=$USER". This is an
 important use case; a number of developers at my company use macports this
 way (no root access).

 I've found that a large number of useful packages depend on dbus (e.g.
 qt4-mac), which fails to install without root privileges:

 {{{
 --->  Activating dbus @1.4.12_0
 Error: Target org.macports.activate returned: error copying
 "/Users/etl/macports/var/macports/software/dbus/1.4.12_0/Library/LaunchAgents/org.freedesktop
 .dbus-session.plist" to "/Library/LaunchAgents/org.freedesktop.dbus-
 session.plist": permission denied
 Error: Failed to install dbus
 }}}

 Could you please make the dbus port somehow install when macports is not
 configured for root access? Something like qt4-mac is just a library; it
 shouldn't need administrator privileges to be installed. Similarly, pretty
 much every app from the GNOME desktop depends on dbus.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/30071#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list