aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cclient
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2000-07-19 13:21:15 +0800
committerkbyanc <kbyanc@FreeBSD.org>2000-07-19 13:21:15 +0800
commit518c2c03f3459a36192efbe74188759256530c8d (patch)
tree8397e8e49802fbb6d3282d491b8fc58907325f9c /mail/cclient
parent89e10cac8284efca07ca6bfe973f63d8addbbcdd (diff)
downloadfreebsd-ports-gnome-518c2c03f3459a36192efbe74188759256530c8d.tar.gz
freebsd-ports-gnome-518c2c03f3459a36192efbe74188759256530c8d.tar.zst
freebsd-ports-gnome-518c2c03f3459a36192efbe74188759256530c8d.zip
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>
Diffstat (limited to 'mail/cclient')
-rw-r--r--mail/cclient/files/patch-ad10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/cclient/files/patch-ad b/mail/cclient/files/patch-ad
new file mode 100644
index 000000000000..5e64e3cffb45
--- /dev/null
+++ b/mail/cclient/files/patch-ad
@@ -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 {