dovecot-1.2: mail_index_chown(): Check for fchown() failing with...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Aug 4 23:58:38 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/8ea90a23ed74
changeset: 9284:8ea90a23ed74
user: Timo Sirainen <tss at iki.fi>
date: Tue Aug 04 16:58:33 2009 -0400
description:
mail_index_chown(): Check for fchown() failing with EPERM, not EACCES.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-index/mail-index.c | 2 +-
diffs (12 lines):
diff -r 0de21e725d4e -r 8ea90a23ed74 src/lib-index/mail-index.c
--- 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 @@ void mail_index_fchown(struct mail_index
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",
More information about the dovecot-cvs
mailing list