Re: 2.8.0 and newly strict checking

From: Doug Barton <dougb_at_dougbarton.us>
Date: Mon, 04 Mar 2013 16:41:21 -0800

Thanks to everyone that replied. For better or worse, I have found the
problem.

The patch that SM supplied gave back the answer that it was the
permissions on the file itself that 2.8.0 didn't like. After further
instrumentation of the code I discovered that it was tripping on the
"group has members other than me" test, in spite of the fact that there
are no group write permissions on either the directory or the files. So
I created an opendkim group that has only the opendkim user as a member,
and the following permissions now work:

ls -la /var/db/opendkim/
total 16
drwx------ 2 root opendkim 512 Mar 3 00:02 ./
drwxr-xr-x 13 root wheel 512 Mar 5 00:06 ../
-rw------- 1 root opendkim 887 Jan 6 06:34 dougbarton.us.private
-rw------- 1 root opendkim 329 Jan 6 06:34 dougbarton.us.txt

I tried unraveling where to fix the test to take lack of group write
permissions into account, but ran out of time. Hopefully this will help
someone more familiar with the code to find the right answer.

Doug
Received on Tue Mar 05 2013 - 00:41:29 PST

This archive was generated by hypermail 2.3.0 : Tue Mar 05 2013 - 00:45:01 PST