[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] problem with ssh backend in 0.6.16
From: |
Kilian Lackhove |
Subject: |
[Duplicity-talk] problem with ssh backend in 0.6.16 |
Date: |
Tue, 22 Nov 2011 15:16:09 +0100 |
Hello,
ive just upgraded to duplicity 0.6.16 which broke the ssh backend for me:
$ /usr/local/bin$ /usr/bin/duplicity remove-older-than 1M -v 9
--encrypt-key yyy --sign-key yyy
ssh://address@hidden/users/xxx/duplicity/etc/
(snip)
================================================================================
duplicity 0.6.16 (October 16, 2011)
Args: /usr/bin/duplicity remove-older-than 1M -v 9 --encrypt-key yyy
--sign-key yyy ssh://address@hidden/users/xxx/duplicity/etc/
Linux rechenknecht 3.1.1-1-ck #1 SMP PREEMPT Sat Nov 12 06:26:40 EST
2011 x86_64 AMD Athlon(tm) II X3 440 Processor
/usr/bin/python2 2.7.2 (default, Jun 29 2011, 11:10:00)
[GCC 4.6.1]
================================================================================
Running 'sftp -oServerAliveInterval=15 -oServerAliveCountMax=2
address@hidden' (attempt #1)
State = sftp, Before = 'Connected to sftp.hidrive.strato.com.'
sftp command: 'mkdir "users"'
State = sftp, Before = 'mkdir "users"
Couldn't create directory:'
Invalid SSH password
It seems like duplicity wants to create the dir "users" even though it
already exists. As a workaround i changed line 287 in sshbackend.py
from mkdir_commands += ["mkdir \"%s\"" % (d)] + ["cd \"%s\"" % (d)] to
mkdir_commands += ["cd \"%s\"" % (d)] which solved the problem for me.
Of course that breaks the creating of non-existent dirs, so dont
consider this a patch ;)
If you need any further information, im happy to help.
crabman
- [Duplicity-talk] problem with ssh backend in 0.6.16,
Kilian Lackhove <=