Add patch to fix mailbox permissions with using cclient's mx driver.

As Vladimir Ivanov explains:
    unix-mx driver doesn't set file permissions properly for non-private
    messages (e.g. public#). The problem caused by mx_append procedure,
    where the driver doesn't call set_mbx_permissions for just created
    message file.

Submitted by:	Vladimir Ivanov <wawa@comptek.ru>
This commit is contained in:
Kelly Yancey 2000-07-19 05:21:15 +00:00
parent 31939c97b0
commit 6238b7fc5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30814

View file

@ -0,0 +1,10 @@
--- src/osdep/unix/mx.c.orig Tue Jul 18 22:11:50 2000
+++ src/osdep/unix/mx.c Tue Jul 18 22:13:55 2000
@@ -882,6 +882,7 @@
if (f&fANSWERED) elt->answered = T;
if (f&fDRAFT) elt->draft = T;
elt->user_flags |= uf;
+ set_mbx_protections (mailbox,tmp);
mx_unlockindex (astream); /* unlock index */
}
else {