rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Deleting remote folders


From: Josh Nisly
Subject: Re: [rdiff-backup-users] Deleting remote folders
Date: Fri, 05 Sep 2008 09:15:46 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]