RE: error loading key ??

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Fri, 2 Jul 2010 20:00:26 -0700 (PDT)

On Sat, 3 Jul 2010, Stephen eire wrote:
> With the -f option on strace the last open in the file is:
>
> 4819  open("/usr/local/etc/dkim/i-systems.co.uk/default.private", O_RDONLY) = -1 EACCES (Permission denied)
>
> Permissions on that file a 777:
>
> root_at_helium:~# ls /usr/local/etc/dkim/i-systems.co.uk/default.private -alh
> -rwxrwxrwx 1 root root 887 2010-06-13 13:09 /usr/local/etc/dkim/i-systems.co.uk/default.private

What about the directories leading up to it?

/
/usr
/usr/local
/usr/local/etc
/usr/local/etc/dkim
/usr/local/etc/dkim/i-systems.co.uk

My guess is one or more of those is restricted from access by the user
that's running the opendkim filter.

(I wonder if we should refuse to use private keys that are writable other
than by the owner, at least as a default...)
Received on Sat Jul 03 2010 - 03:00:43 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:19:47 PST