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 Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1030534 Title: "sftp -r remotedir ." creates directories with wrong permissions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1030534/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs