#32 ✓released
Benjamin Donnachie

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket