launchctl: failed: -10

Brandon Allbery allbery.b at
Thu May 23 07:10:42 PDT 2013

On Thu, May 23, 2013 at 9:57 AM, Eneko Gotzon Ares <enekogotzon at>wrote:

> %% launchctl load -w /Library/LaunchAgents/org.**
> freedesktop.dbus-session.plist
> Terminal shows the ensuing error message:
> launchctl: CFURLWriteDataAndPropertiesToR**esource(/Library/LaunchAgents/*
> *org.freedesktop.dbus-session.**plist) failed: -10

Are you on Leopard or earlier? -w used to edit the actual plist, which
doesn't work for LaunchAgents as the plist is owned by root. (On Snow
Leopard and later, the disabled status is stored in a per-user state file,
avoiding this issue. This also means it's actually per user instead of all

On older OS X, you'll need to edit the plist as root and change the value
of the Disabled key to False, then run the launchctl command without -w (or
just log out and back in).

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list