[Users] Saving draft doesn't set msg mode as specified in draft folder properties

Mat mnieuw at zap.a2000.nl
Mon Jul 29 15:20:41 UTC 2024


Hi,
If I compose a new msg, and do Message-Save, it ends up in the draft
folder, but always with mode rw for the user (0600). But the draft
folder's preferences are set to 0660.

It looks like this is happening in mh.c, function mh_add_msgs, which
calls copy_file in common/file-utils.c . And that always sets the file
mode to 0600.

Why isn´t the filemode not passed on the copy file, or the msg
correctly set after the copy_file returns?

MatN


More information about the Users mailing list