1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/cclient/files/patch-ad
Kelly Yancey 6238b7fc5c 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>
2000-07-19 05:21:15 +00:00

11 lines
332 B
Plaintext

--- 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 {