Open
Description
In DR.DUH_GUIDE --> SSH --> macOS
I am having some issues with the launchctl commands.
I have created the two files $HOME/Library/LaunchAgents/gnupg.gpg-agent.plist
and $HOME/Library/LaunchAgents/gnupg.gpg-agent-symlink.plist
. Then I run the following commands which produce input/output errors:
as normal user (no sudo)
Danran@MacBook-Pro ~/Library/LaunchAgents$ launchctl load $HOME/Library/LaunchAgents/gnupg.gpg-agent.plist
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
Danran@MacBook-Pro ~/Library/LaunchAgents$ launchctl load $HOME/Library/LaunchAgents/gnupg.gpg-agent-symlink.plist
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
With sudo:
Danran@MacBook-Pro ~/Library/LaunchAgents$ sudo launchctl load $HOME/Library/LaunchAgents/gnupg.gpg-agent.plist
Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
Danran@MacBook-Pro ~/Library/LaunchAgents$ sudo launchctl load $HOME/Library/LaunchAgents/gnupg.gpg-agent-symlink.plist
Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead.
`launchctl bootstrap` is a recommended alternative.
Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.
Any reason why I'm getting these errors? What can I do to fix this?
Thanks.