These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Dovecot mkdir: Permission denied on the new forum.
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.
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?