BUG: restore.MirrorStruct.get_increment_times not in 1.0.4's Security.set_allowed_requests()

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG: restore.MirrorStruct.get_increment_times not in 1.0.4's Security.set_allowed_requests()

Charles Duffy-6
--- rdiff-backup-1.0.4/rdiff_backup/Security.py.orig    2006-01-26
12:21:30.980533559 -0600
+++ rdiff-backup-1.0.4/rdiff_backup/Security.py 2006-01-26
12:21:57.997097214 -0600
@@ -140,6 +140,7 @@
        if sec_level == "read-only" or sec_level == "all":
                l.extend(["fs_abilities.get_fsabilities_readonly",
                                 
"fs_abilities.get_fsabilities_restoresource",
+                                
"restore.MirrorStruct.get_increment_times",
                                 
"restore.MirrorStruct.set_mirror_and_rest_times",
                                  "restore.MirrorStruct.set_mirror_select",
                                 
"restore.MirrorStruct.initialize_rf_cache",



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: BUG: restore.MirrorStruct.get_increment_times not in 1.0.4's Security.set_allowed_requests()

Charles Duffy-6
Eww -- sorry 'bout that formatting, all; didn't realize it would do
that. As an attachment, this time.

(Lacking this patch, btw, I was receiving security violations on the
specified method doing a simple restore of a backup specified with
"--restore-as-of 0B").

--- rdiff-backup-1.0.4/rdiff_backup/Security.py.orig 2006-01-26 12:21:30.980533559 -0600
+++ rdiff-backup-1.0.4/rdiff_backup/Security.py 2006-01-26 12:21:57.997097214 -0600
@@ -140,6 +140,7 @@
  if sec_level == "read-only" or sec_level == "all":
  l.extend(["fs_abilities.get_fsabilities_readonly",
   "fs_abilities.get_fsabilities_restoresource",
+  "restore.MirrorStruct.get_increment_times",
   "restore.MirrorStruct.set_mirror_and_rest_times",
   "restore.MirrorStruct.set_mirror_select",
   "restore.MirrorStruct.initialize_rf_cache",

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Re: BUG: restore.MirrorStruct.get_increment_times not in 1.0.4's Security.set_allowed_requests()

dean gaudet-4
On Thu, 26 Jan 2006, Charles Duffy wrote:

> (Lacking this patch, btw, I was receiving security violations on the specified
> method doing a simple restore of a backup specified with "--restore-as-of
> 0B").

thanks... patch committed to 1.0.x and 1.1.x branches.

-dean



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki