Commit 3c20186b authored by owsla's avatar owsla

Fix Security Error when performing non-backup operations


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1027 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 07549b39
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)
......
......@@ -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"])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment