From b2f94206b1d0de36af7688f8139302db94982cae Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Fri, 2 Nov 2007 20:26:40 +0000 Subject: Deprecate the old automatic seteuid feature; document this in the manpage and changelog, and let archivemail spit a warning when it changes the effective user id. --- archivemail.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archivemail.py') diff --git a/archivemail.py b/archivemail.py index 170f5a8..d0e1578 100755 --- a/archivemail.py +++ b/archivemail.py @@ -1132,6 +1132,8 @@ def archive(mailbox_name): os.setegid(mailbox_group) vprint("changing effective user id to: %d" % mailbox_user) os.seteuid(mailbox_user) + user_warning("changing effective user id: this automatic feature " + "is deprecated and will be removed from later versions.") old_temp_dir = tempfile.tempdir try: -- cgit v1.2.3