dovecot-2.0: mail_index_chown(): Check for fchown() failing with...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 31 01:49:47 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/37bdd5ce828f
changeset: 9698:37bdd5ce828f
user: Timo Sirainen <tss at iki.fi>
date: Thu Jul 30 18:49:40 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 6e4b79ca75cc -r 37bdd5ce828f src/lib-index/mail-index.c
--- a/src/lib-index/mail-index.c Thu Jul 30 18:13:25 2009 -0400
+++ b/src/lib-index/mail-index.c Thu Jul 30 18:49:40 2009 -0400
@@ -751,7 +751,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