launchctl: failed: -10
Brandon Allbery
allbery.b at gmail.com
Thu May 23 07:10:42 PDT 2013
On Thu, May 23, 2013 at 9:57 AM, Eneko Gotzon Ares <enekogotzon at gmail.com>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
users.)
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 gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130523/124f4dab/attachment.html>
More information about the macports-users
mailing list