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 Bugs, which is subscribed to 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-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs