Public bug reported: 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 [email protected]:foo foo [email protected]'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. ** Affects: openssh (Ubuntu) Importance: Undecided Status: New -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
