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:
parent
31939c97b0
commit
6238b7fc5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30814
1 changed files with 10 additions and 0 deletions
10
mail/cclient/files/patch-ad
Normal file
10
mail/cclient/files/patch-ad
Normal 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 {
|
Loading…
Reference in a new issue