[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-util.c, 1.14.2.4, 1.14.2.5

tss at dovecot.org tss at dovecot.org
Sun Mar 25 21:23:59 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv5583/lib-storage/index/maildir

Modified Files:
      Tag: branch_1_0
	maildir-util.c 
Log Message:
File's group could have been wrong with shared mailboxes



Index: maildir-util.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-util.c,v
retrieving revision 1.14.2.4
retrieving revision 1.14.2.5
diff -u -d -r1.14.2.4 -r1.14.2.5
--- maildir-util.c	18 Jan 2007 17:20:46 -0000	1.14.2.4
+++ maildir-util.c	25 Mar 2007 18:23:57 -0000	1.14.2.5
@@ -130,8 +130,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);



More information about the dovecot-cvs mailing list