diff options
author | Kelly Yancey <kbyanc@FreeBSD.org> | 2000-07-19 05:21:15 +0000 |
---|---|---|
committer | Kelly Yancey <kbyanc@FreeBSD.org> | 2000-07-19 05:21:15 +0000 |
commit | 6238b7fc5c7b75cb386e91660ed9505093aadbd6 (patch) | |
tree | 923b4094e930b3c4ec32530478cf557e8ec0edb8 /mail/cclient | |
parent | 31939c97b0a192574e89be1ed0e6939c4cf2c8bf (diff) | |
download | ports-6238b7fc5c7b75cb386e91660ed9505093aadbd6.tar.gz ports-6238b7fc5c7b75cb386e91660ed9505093aadbd6.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>
Notes
Notes:
svn path=/head/; revision=30814
Diffstat (limited to 'mail/cclient')
-rw-r--r-- | mail/cclient/files/patch-ad | 10 |
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 { |