From 5e09353fe5ce80b724a30db11cb10523d147c6ec Mon Sep 17 00:00:00 2001 From: bescoto Date: Mon, 30 Jun 2003 03:00:18 +0000 Subject: Many changes - added extended attribute support and file system ability detection git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@334 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/Security.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rdiff-backup/rdiff_backup/Security.py') diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py index 83ddcf2..427f826 100644 --- a/rdiff-backup/rdiff_backup/Security.py +++ b/rdiff-backup/rdiff_backup/Security.py @@ -76,8 +76,9 @@ def set_security_level(action, cmdpairs): rdir = tempfile.gettempdir() elif islocal(cp1): sec_level = "read-only" - rdir = Main.restore_get_root(rpath.RPath(Globals.local_connection, - getpath(cp1)))[0].path + Main.restore_get_root(rpath.RPath(Globals.local_connection, + getpath(cp1))) + rdir = Main.restore_root.path else: assert islocal(cp2) sec_level = "all" -- cgit v1.2.1