Andrew Ferguson wrote:
On Sep 5, 2008, at 9:19 AM, Josh Nisly wrote:
I'm trying to implement support for removing a failed initial update.
One of the things that I need to do is remove the increments
directory. When I try to do this over a remote connection, the server
throws a security violation exception. However, we obviously need to
delete remote directories during the backup (we actually create and
delete on in fs_abilities.py).
Any ideas on what I can do to be able to delete this directory?
Josh,
Sounds like a good idea. What is the error message you are getting?
Here's the error:
Warning Security Violation!
Bad request for function: os.rmdir
with arguments: ['/backup/test/rdiff-backup-data/a_test']
I'm using rpath.delete() for a directory. It calls rmdir, which
obviously isn't in allowed_requests, but somehow other places manage to
work.
JoshN
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki