diff options
author | Nikolaus Schulz <microschulz@web.de> | 2007-11-02 20:26:40 +0000 |
---|---|---|
committer | Nikolaus Schulz <microschulz@web.de> | 2007-11-02 20:26:40 +0000 |
commit | b2f94206b1d0de36af7688f8139302db94982cae (patch) | |
tree | cf04cf2f9e50ff68548584d5d666abf9ced921f6 /archivemail.py | |
parent | dfec62850e88efad255fe450378b39dc6efd848a (diff) | |
download | archivemail-b2f94206b1d0de36af7688f8139302db94982cae.tar.gz archivemail-b2f94206b1d0de36af7688f8139302db94982cae.tar.bz2 archivemail-b2f94206b1d0de36af7688f8139302db94982cae.zip |
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.
Diffstat (limited to 'archivemail.py')
-rwxr-xr-x | archivemail.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |