Dafacto

The personal website of Matt Henderson.

Disk Utility Fix Permissions & CommuniGate Pro

If you use Apple's Disk Utility application to Repair Permissions on your Mac OS X system AND you have CommuniGate Pro installed, you'll end up messing up CGPro's files such that the following won't work:

echo "Hello" | mail -s "Hi There" matt@makalumedia.com

The affected files from the Disk Utility report are:

Group differs on ./private/etc/mail/submit.cf, should be 7, group is 0 Owner and group corrected on ./private/etc/mail/submit.cf Permissions corrected on ./private/etc/mail/submit.cf Group differs on ./usr/bin/mail, should be 0, group is 6 Permissions differ on ./usr/bin/mail, should be -r-xr-xr-x , they are -r-xr-sr-x Owner and group corrected on ./usr/bin/mail Permissions corrected on ./usr/bin/mail

To fix things, do:

sudo chown root:wheel /private/etc/mail/submit.cf sudo chown root:mail /usr/sbin/CommuniGatePro/mail sudo chmod 2555 /usr/sbin/CommuniGatePro/mail sudo chown root:mail /usr/sbin/CommuniGatePro/sendmail sudo chmod 2555 /usr/sbin/CommuniGatePro/sendmail

Enjoy this article? — You can find similar content via the category and tag links below.

Categories — Technology

Tags — Geek

Questions or comments? — Feel free to email me using the contact form below, or reach out on Twitter.