Dovecot 2.3.3 (dcead646b) openSUSE Leap 15.0 I am getting a weird error message: Fatal: Error in configuration file /etc/dovecot/local.conf line 16: ssl_cert: Can't open file /etc/foobar/ssl/certbot.pem: Permission denied I have tried the following: - chmod -R 655 /etc/foobar/ssl (/etc/foobar is 755) - create "ssl_users" group add dovecot to it chown -R dovecot:ssl_users /etc/foobar/ssl How can I fix this ? There's no obvious solution ?
On 10.4.2019 12.36, Laura Smith via dovecot wrote:> Dovecot 2.3.3 (dcead646b) > openSUSE Leap 15.0 > > I am getting a weird error message: > > Fatal: Error in configuration file /etc/dovecot/local.conf line 16: ssl_cert: Can't open file /etc/foobar/ssl/certbot.pem: Permission denied > > I have tried the following: > - chmod -R 655 /etc/foobar/ssl (/etc/foobar is 755) > - create "ssl_users" group add dovecot to it chown -R dovecot:ssl_users /etc/foobar/ssl > > > How can I fix this ? There's no obvious solution ? > > >Are you by chance using selinux? If you are, you might need to relabel the files. Aki
On Wednesday, April 10, 2019 10:52 AM, Aki Tuomi via dovecot <dovecot at dovecot.org> wrote:> On 10.4.2019 12.36, Laura Smith via dovecot wrote: > > > Dovecot 2.3.3 (dcead646b) > > openSUSE Leap 15.0 > > I am getting a weird error message: > > Fatal: Error in configuration file /etc/dovecot/local.conf line 16: ssl_cert: Can't open file /etc/foobar/ssl/certbot.pem: Permission denied > > I have tried the following: > > > > - chmod -R 655 /etc/foobar/ssl (/etc/foobar is 755) > > - create "ssl_users" group add dovecot to it chown -R dovecot:ssl_users /etc/foobar/ssl > > > > How can I fix this ? There's no obvious solution ? > > Are you by chance using selinux? If you are, you might need to relabel > the files. > > AkiThis is openSUSE, not Centos, I don't think it even comes with selinux.
`chmod -R 655 /etc/foobar/ssl' drops x attribute from `ssl' itself. Use `chmod -R 755' or `chmod +x' or similar. 10.04.2019 12:36, Laura Smith via dovecot ?????:> Dovecot 2.3.3 (dcead646b) > openSUSE Leap 15.0 > > I am getting a weird error message: > > Fatal: Error in configuration file /etc/dovecot/local.conf line 16: ssl_cert: Can't open file /etc/foobar/ssl/certbot.pem: Permission denied > > I have tried the following: > - chmod -R 655 /etc/foobar/ssl (/etc/foobar is 755) > - create "ssl_users" group add dovecot to it chown -R dovecot:ssl_users /etc/foobar/ssl > > > How can I fix this ? There's no obvious solution ? > > >
On 4/10/19 6:39 AM, Dmitry Donskih via dovecot wrote:> `chmod -R 655 /etc/foobar/ssl' drops x attribute from `ssl' itself. > Use `chmod -R 755' or `chmod +x' or similar. >Your private keys should be... private. Use 750 instead.