diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-03-02 17:55:27 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-03-02 17:55:27 +0000 |
commit | e8713573150c7c6605e4220e0803bd47379064b3 (patch) | |
tree | 26f455423a103e4b09ef467e895db176c5596446 | |
parent | 1c3508dc224a8b8c6fa3cfa28b0cb7d256e91b7f (diff) | |
download | rdiff-backup-e8713573150c7c6605e4220e0803bd47379064b3.tar.gz |
Fix Security Error when performing non-backup operations
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1027 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r-- | rdiff-backup/CHANGELOG | 3 | ||||
-rw-r--r-- | rdiff-backup/rdiff_backup/Security.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index b2b3979..54b48de 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,9 @@ New in v1.3.2 (????/??/??) --------------------------- +Fix Security Error when performing non-backup operations on Windows. Thanks to +Tommy Keene for the bug report. (Andrew Ferguson) + Properly disable hardlinks by default on Windows. Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson) diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py index b1c6eba..123a5ac 100644 --- a/rdiff-backup/rdiff_backup/Security.py +++ b/rdiff-backup/rdiff_backup/Security.py @@ -132,14 +132,14 @@ def set_allowed_requests(sec_level): "Globals.get", "Globals.is_not_None", "Globals.get_dict_val", "log.Log.open_logfile_allconn", "log.Log.close_logfile_allconn", "Log.log_to_file", "FilenameMapping.set_init_quote_vals_local", - "FilenameMapping.set_init_quote_vals", + "FilenameMapping.set_init_quote_vals", "Time.setcurtime_local", "SetConnections.add_redirected_conn", "RedirectedRun", "sys.stdout.write", "robust.install_signal_handlers"] if (sec_level == "read-only" or sec_level == "update-only" or sec_level == "all"): l.extend(["rpath.make_file_dict", "os.listdir", "rpath.ea_get", "rpath.acl_get", "rpath.setdata_local", - "log.Log.log_to_file", "os.getuid", "Time.setcurtime_local", + "log.Log.log_to_file", "os.getuid", "rpath.gzip_open_local_read", "rpath.open_local_read", "Hardlink.initialize_dictionaries", "user_group.uid2uname", "user_group.gid2gname"]) |