[Dovecot] 1.2.3 - fchown failed messages
Rob Mangiafico
rmang at lexiconn.com
Wed Aug 5 02:53:37 EEST 2009
On Tue, 4 Aug 2009, Timo Sirainen wrote:
> On Tue, 2009-08-04 at 19:31 -0400, Rob Mangiafico wrote:
>> Aug 4 19:10:10 rezclick dovecot: IMAP(john):
>> fchown(/home/john/.imap/INBOX/dovecot.index.tmp, -1, 12(mail)) failed:
>> Operation not permitted (egid=509(johngrp), group based on
>> /var/spool/mail/john)
>> ---
>>
>> /var/spool/mail/john has a group of "mail", whereas the home directory has
>> their own "group". In 1.1.x we did not get these errors. Is this a fix in
>> 1.2? I assume we have to make the group match from their home dir and
>> /var/spool/mail to get rid of the error? Any downside to allowing this
>> error to continue? Thanks.
>
> What permissions does /var/spool/mail/john have? I guess mail group has
> read permissions? Just removing that should fix the error.
-rw-rw---- 1 john mail 5676767 Aug 4 19:50 /var/spool/mail/john
Those are the default permissions that sendmail uses I believe. Not sure
if removing "mail" group r/w would have any other impact for
sendmail/procmail? Thanks for taking the time to help.
Rob
More information about the dovecot
mailing list