
Incorrect permissions on launchagent plist
Reported by Benjamin Donnachie | January 29th, 2011 @ 01:54 PM | in 2.0.18 (closed)
Following another remote support session, I have ascertained that incorrect permissions on the launchd plist are causing gpg-agent to fail to load under launchd control:
$sudo launchctl load -S background /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist
launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist
nothing found to load
$ ls -lsa /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist
8 -rw-rw-r-- 1 root wheel 624 21 Jan 16:39 /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist
This causes problems with GUI based utilities that are not designed for the new standard sockets behaviour; in particular Enigmail which then launches multiple copies of gpg-agent.
A workaround is:
sudo chmod g-w /Library/LaunchAgents/org.gpgtools.macgpg2.gpg-agent.plist
Then reboot.
This will be addressed in a point release shortly.
Comments and changes to this ticket
-
Alex (via GPGTools) January 29th, 2011 @ 07:03 PM
Just fyi: using the GPGTools installer the plist file has correct permissions. So no need to publish an update in this context.
-
Alex (via GPGTools) December 28th, 2011 @ 01:27 PM
- Milestone set to 2.0.18
- Importance changed from to
-
steve June 18th, 2015 @ 04:41 PM
- State changed from resolved to released
- Importance cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป