Dovecot mkdir: Permission denied

2 posts / 0 new
Last post
#1 Sat, 05/12/2012 - 16:34
Mobius1

Dovecot mkdir: Permission denied

I've installed the Roundcube script for my domain, but whenever I log in I get the following error:

Server Error: STATUS: Internal error occurred. Refer to server log for more information. [2012-05-12 23:31:22]

Output of tail -f /var/log/maillog

May 12 23:29:43 stock dovecot: imap-login: Login: user=<tlrdukd>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/index/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/control/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/index/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/control/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/index/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/control/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/index/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): mkdir(/var/lib/dovecot/control/tlrdukd/.INBOX) failed: Permission denied
May 12 23:29:43 stock dovecot: IMAP(tlrdukd): Disconnected: Logged out

I've tried changing the permissions on the folders to 755 or 777, but it reverts back to 750.

Sat, 05/12/2012 - 17:22
Mobius1

Sorted it out by doing the following:

chown -R tlrdukd:tlrdukd /var/lib/dovecot

But I have to do this with other accounts in Virtualmin. Is there something wrong somewhere?

Topic locked