mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
6238b7fc5c
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>
11 lines
332 B
Plaintext
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 {
|