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

Robie Basak 1030534 at bugs.launchpad.net
Mon Jul 30 13:57:31 UTC 2012


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Failed to reproduce on 12.04. I created a remote directory structure and
copied it to local using "sftp -r" and it worked fine.

Dan, please could you report what the permissions and ownership were on
the remote directories, what the permissions have ended up on your local
directories, and what your local umask is? Please also confirm that
you're doing this on a fresh local copy (ie. directories and files did
not previously exist locally).

Setting bug status to Incomplete. Once you have have supplied the
requested information, please change the status back to New.

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

-- 
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:
  Incomplete

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