Mercurial > dovecot > core-2.2
changeset 9698:37bdd5ce828f HEAD
mail_index_chown(): Check for fchown() failing with EPERM, not EACCES.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 30 Jul 2009 18:49:40 -0400 |
parents | 6e4b79ca75cc |
children | f123bb8afd1c |
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 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 @@ 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",