[Dovecot] fchown error upgrading from 0.99 to 1.2

Timo Sirainen tss at iki.fi
Tue Mar 9 23:04:19 EET 2010


On 9.3.2010, at 23.00, Erick Perez wrote:

> Mar 09 15:50:23 POP3(cwchbodega): Error:
> fchown(/home/cwchbodega/mail/.imap/INBOX/dovecot.index.log.newlock, -1,
> 12(mail)) failed: Operation not permitted (egid=653(cwchbodega), group based
> on /var/mail/cwchbodega)
..
> As I check the perms on the files, i see that:
> /var/mail/cwchbodega
> -rw-rw----  1 cwchbodega mail

Most likely you don't really need this file to be group-rw by mail. It's most likely just a potential security hole. The error goes away with:

chmod 0600 /var/mail/*

Maybe I just start bugging again those shadow-utils people to make 0600 the default instead of 0660.



More information about the dovecot mailing list