[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-storage.c, 1.84, 1.85

cras at dovecot.org cras at dovecot.org
Tue Sep 21 17:40:09 EEST 2004


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

Modified Files:
	maildir-storage.c 
Log Message:
Get index file mode and GID from dovecot-shared file.



Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- maildir-storage.c	11 Sep 2004 12:17:53 -0000	1.84
+++ maildir-storage.c	21 Sep 2004 14:40:06 -0000	1.85
@@ -393,6 +393,8 @@
 	else {
 		ibox->mail_create_mode = st.st_mode & 0666;
 		ibox->private_flags_mask = MAIL_SEEN;
+		mail_index_set_permissions(ibox->index, st.st_mode & 0666,
+					   st.st_gid);
 	}
 
 	return &ibox->box;



More information about the dovecot-cvs mailing list