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

Dan Kegel dank at kegel.com
Sun Jul 29 15:04:38 UTC 2012


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 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.

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

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



More information about the Ubuntu-server-bugs mailing list