[Dovecot] fchown error on tmp files

Kim Bisgaard kim+dovecot at alleroedderne.adsl.dk
Sun Jul 12 21:46:38 EEST 2009


Hi,

After upgrading to 1.2 I started getting fchown errors in the log. They 
look like:
Jul 12 18:32:54 jukebox dovecot: deliver(kim): 
fchown(/data/mail/kim/.lists.mythtv-users/tmp/1247416373.M857540P19162.jukebox.alleroedderne.adsl.dk, 
-1, 500(k
im)) failed: Operation not permitted (egid=12(mail), group based on 
/data/mail/kim/.lists.mythtv-users)

I have tried to get rid of the by changing the group of the files to 
"mail" but that does not help.

I can not find a dovecot option that is documented to set the group to 
%u which would seem ideal.

Any advice?

Thanks in advance,
Kim

% dovecot -n
# 1.2.0: /etc/dovecot.conf
# OS: Linux 2.6.27.25-170.2.72.fc10.i686 i686 Fedora release 10 
(Cambridge) ext3
protocols: imaps
listen: *
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:/data/mail/%u
auth default:
   passdb:
     driver: pam
   userdb:
     driver: passwd
plugin:
   sieve: ~/.dovecot.sieve
   sieve_dir: ~/sieve



More information about the dovecot mailing list