unable to open private key file for reading
i get the following error when run the command
tail -500 /var/log/exim_mainlog
errot
[PHP]2014-06-09 12:17:46 1Wu2GU-0003sJ-Ga unable to open private key file for reading: /var/cpanel/domain_keys/private/*****.net[/PHP]
the qustion is
is it safe to change permisson of this file from 0640 t 0644
-
There should not be any problem for changing permission. You can safely change permission from 0640 to 0644 0 -
Hello :) Please ensure the following directory is configured with 0750 permissions: /var/cpanel/domain_keys/private
The files within this directory should have 0640 permissions. Thank you.0 -
This is odd. I've never messed with this dir on my own server, the directory is 0750 as it should be (set root:mail), but the files inside are root:root 644 I think root:mail 640 would make more sense. It does seem that the 644 perms aren't a big deal though, because the 0750 on the dir prevents unprivileged users from reading the files anyway. 0 -
Yes, "root:mail" ownership with 0640 permissions are standard for the files within this directory. Thank you. 0 -
They're not like that on any servers I'm checking. They're all root:root 644. Checking on up-to-date 11.42 as well as a 11.38.2.23 box. 0 -
[quote="quizknows, post: 1661811">They're not like that on any servers I'm checking. They're all root:root 644. Checking on up-to-date 11.42 as well as a 11.38.2.23 box.
This was addressed with internal case number 81441 in cPanel version 11.42: Fixed case 81441: Exim unable to open DKIM private keys for reading. Removing and re-adding the records should result in updated permissions on these files. Or, you could manually update the permissions/ownership values. Thank you.0
Please sign in to leave a comment.
Comments
6 comments