Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5407:d3a89872744e HEAD
File's group could have been wrong with shared mailboxes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 25 Mar 2007 21:24:00 +0300 |
parents | 82d6f9673c05 |
children | 2847c8f771a8 |
files | src/lib-storage/index/maildir/maildir-util.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-util.c Sun Mar 25 21:18:15 2007 +0300 +++ b/src/lib-storage/index/maildir/maildir-util.c Sun Mar 25 21:24:00 2007 +0300 @@ -132,8 +132,7 @@ mail_storage_set_critical(STORAGE(mbox->storage), "open(%s) failed: %m", path); } - } else if (st.st_gid != mbox->mail_create_gid && - mbox->mail_create_gid != (gid_t)-1) { + } else if (mbox->mail_create_gid != (gid_t)-1) { if (fchown(fd, (uid_t)-1, mbox->mail_create_gid) < 0) { mail_storage_set_critical(STORAGE(mbox->storage), "fchown(%s) failed: %m", path);