← Back to team overview

duplicity-team team mailing list archive

Re: [Question #695777]: scp Permission denied

 

Question #695777 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/695777

    Status: Needs information => Open

Max gave more information on the question:
No problem, here we go:

root@myserver:~# duplicity -v9 --ssh-options="-oIdentityFile=/etc/ssh/ssh_host_rsa_key -oLogLevel=DEBUG3" /root/mytest/ scp://USERNAME@xxxxxxxxxxxxxxxxxxxxxx//users/USERNAME/mytest/
[...]
Backtrace of previous error: Traceback (innermost last):
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 369, in inner_retry
    return fn(self, *args)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 529, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 515, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/ssh_paramiko_backend.py", line 304, in _put
    raise BackendException("scp remote error: %s" % chan.recv(-1))
 BackendException: scp remote error: scp: '/users/USERNAME/mytest/': Permission denied

Attempt 1 failed. BackendException: scp remote error: scp: '/users/USERNAME/mytest/': Permission denied
[...]

Complete output: https://pastebin.com/R4UuqwnA

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.