Permissions suddenly changed on exim.key

ditto

Verified User
Joined
Apr 27, 2009
Messages
1,980
I have 4 servers wich I have manually changed permissions on /etc/exim.key to be 0600

Today I suddenly discovered that the permissions on /etc/exim.key has been automatically changed back to 0644

Have anybody else experienced this? I recently upgraded from CentOS 6.4 to CentOS 6.5, could that be the reason, that it was automatically changed then? Or could it be DirectAdmin that changed it the last time I did ./build exim?

I have now changed back the permission to /etc/exim.key to be 0600, and hope it stays that way this time ...
 
I upgraded DirectAdmin on one server tonight, and it changed back /etc/exim.key AGAIN to 0644, so it is DirectAdmin that does it. Either DirectAdmin does it when I upgrade DirectAdmin itself, or it does it when I do ./build rewrite_confs
 
Looking through the scripts, it's set to 644 in a few locations (update.sh and exim.sh).. but set to 600 in the set_permissions.sh.

If we can confirm that 600 works fine for dovecot (as it uses the same cert/key).. then I'll make sure it's set to 600 in the scripts.

John
 
/etc/exim.key with permission sett to 0600 works fine for Exim and Dovecot on my servers (shared hosting servers), I have never had a problem with it. I am running CentOS 6.4 64bit on all servers.
 
Back
Top