courier shared index: Permission denied
-
- patched
- fulltilt
- Thread is marked as Resolved.
-
-
- Distro? codename?
- /etc/courier/shared/index file exist?
- /etc/courier/shared/index ownership and permissions?
- /etc/courier/shared/ ownership and permissions?
- /etc/courier/ ownership and permissions?
- /etc/ ownership and permissions?
- / ownership and permissions?
-
-
thanks for reply!
Description: Debian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch/etc/courier/shared/index the index file does not exist also w/ other debian 9 (imscp 1.5.1) installations
Code- ls -la /etc/courier total 136drwxr-xr-x 6 root courier 4096 Feb 24 15:47 .drwxr-xr-x 119 root root 12288 Mar 4 11:35 ..-rw-rw---- 1 daemon daemon 3688 Mar 4 10:27 authdaemonrc-rw-rw---- 1 daemon daemon 829 Mar 4 10:27 authmysqlrc-rw------- 1 daemon daemon 3535 Jul 15 2017 dhparams.pemdrwxr-x--- 2 root courier 4096 May 8 2017 esmtpacceptmailfor.dirdrwxr-x--- 2 root courier 4096 May 8 2017 hosteddomainsdrwxr-x--- 2 root courier 4096 May 8 2017 imapaccess-rw-r--r-- 1 root root 12288 Oct 20 13:08 imapaccess.dat-rw-r--r-- 1 root root 16309 Mar 4 10:27 imapd-rw-r--r-- 1 root root 9688 Mar 4 10:27 imapd-ssl-rw-r----- 1 root courier 216 May 8 2017 imapd.cnf-rw-r----- 1 root courier 9233 Mar 4 10:32 imapd.pem-rw-r--r-- 1 root root 4487 Oct 22 11:19 pop3d-rw-r--r-- 1 root root 8907 Mar 4 10:27 pop3d-ssl-rw------- 1 root courier 216 May 8 2017 pop3d.cnf-rw-r----- 1 root courier 9233 Mar 4 10:32 pop3d.pemdrwxr-x--- 2 root courier 4096 May 8 2017 shared
-
strange, w/ a jessie system it looks very different ... which works
Code- ls -la /etc/courier/shared
- total 8
- drwxr-xr-x 2 daemon daemon 4096 Dec 13 2016 .
- drwxr-xr-x 3 root root 4096 Dec 13 2016 ..
- -rw-r--r-- 1 root root 0 Jan 25 2015 index
- ls -la /etc/courier
- total 108
- drwxr-xr-x 3 root root 4096 Dec 13 2016 .
- drwxr-xr-x 124 root root 12288 Mar 3 17:26 ..
- -rw-rw---- 1 daemon daemon 3669 Feb 18 10:26 authdaemonrc
- -rw-rw---- 1 daemon daemon 828 Feb 18 10:26 authmysqlrc
- -rw------- 1 daemon daemon 424 Dec 13 2016 dhparams.pem
- -rw-r--r-- 1 root root 15576 Feb 18 10:26 imapd
- -rw-r--r-- 1 root root 9376 Feb 18 10:26 imapd-ssl
- -rw------- 1 daemon daemon 350 Jan 25 2015 imapd.cnf
- -rw------- 1 daemon root 9229 Feb 18 10:36 imapd.pem
- -rw-r--r-- 1 root root 3762 Feb 1 18:42 pop3d
- -rw-r--r-- 1 root root 8380 Feb 18 10:26 pop3d-ssl
- -rw------- 1 daemon daemon 350 Jan 25 2015 pop3d.cnf
- -rw------- 1 daemon root 9229 Feb 18 10:36 pop3d.pem
- drwxr-xr-x 2 daemon daemon 4096 Dec 13 2016 shared
-
-
-
Well, that is not really an i-MSCP issue. In fact, Ondřej Surý has changed the historical user/group from daemon to courier.. The problem is that i-MSCP assume the daemon user in init script and some other place, not the courier user. I must have a deeper look into those changes to update our courier server implementation.
See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822071
-
-
This should be fixed in the hotfixes branch. The fixes will be available in i-MSCP version 1.6.0. As you will see, there was a lot of works needed...
See changes: