[Bug 1030534] Re: "sftp -r remotedir ." creates directories with wrong permissions
*** 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 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
[Bug 1030534] Re: "sftp -r remotedir ." creates directories with wrong permissions
[Expired for openssh (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openssh (Ubuntu) Status: Incomplete => Expired -- 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
[Bug 1030534] Re: "sftp -r remotedir ." creates directories with wrong permissions
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 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
[Bug 1030534] Re: "sftp -r remotedir ." creates directories with wrong permissions
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