Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9284:8ea90a23ed74 HEAD
mail_index_chown(): Check for fchown() failing with EPERM, not EACCES.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 04 Aug 2009 16:58:33 -0400 |
parents | 0de21e725d4e |
children | ae00eda5b152 |
files | src/lib-index/mail-index.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index.c Tue Aug 04 14:54:56 2009 -0400 +++ b/src/lib-index/mail-index.c Tue Aug 04 16:58:33 2009 -0400 @@ -648,7 +648,7 @@ really matter. ignore silently. */ return; } - if (errno != EACCES) + if (errno != EPERM) mail_index_file_set_syscall_error(index, path, "fchown()"); else { mail_index_set_error(index, "%s",