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

Michael Mess 1030534 at bugs.launchpad.net
Fri Sep 26 10:49:48 UTC 2014


*** This bug is a duplicate of bug 1374386 ***
    https://bugs.launchpad.net/bugs/1374386

I was able to reproduce it with a broken remote site that reports its
files have no permission at all.

Remote permissions are applied to local directories before its content
is downloaded. Thus local files could not be created.


** Tags added: precise

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

** This bug has been marked a duplicate of bug 1374386
   sftp client stores files and directories with wrong permissions received by the server and lets download fail

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

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