[Bug 1030534] Re: "sftp -r remotedir ." creates directories with wrong permissions

RoyK roy at karlsbakk.net
Sun Jul 29 16:22:21 UTC 2012


As far as I can see. it works well when I test on this Ubuntu 12.04
x86_64 machine. You may want to use -p or -P to get the permissions
right. See man sftp…

roy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1030534

Title:
  "sftp -r remotedir ." creates directories with wrong permissions

Status in “openssh” package in Ubuntu:
  New

Bug description:
  The local directories created by 
     sftp -r remotedir .
  are unreadable by anybody, so when it tries to create anything in them, it fails.  Example:

  $ sftp -r user at host.com:foo foo
  user at host.com's password: 
  Connected to host.com.
  Fetching /foo/ to foo
  Retrieving /foo
  Retrieving /foo/www
  mkdir foo/www: Permission denied

  This is with Ubuntu 12.04, openssh-client       1:5.9p1-5ubuntu1

  This is the second time I've ever used sftp.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1030534/+subscriptions




More information about the foundations-bugs mailing list