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

Launchpad Bug Tracker 1030534 at bugs.launchpad.net
Sat Sep 29 04:17:56 UTC 2012

[Expired for openssh (Ubuntu) because there has been no activity for 60

** Changed in: openssh (Ubuntu)
       Status: Incomplete => Expired

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.

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

Status in “openssh” package in Ubuntu:

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:

More information about the foundations-bugs mailing list