Undocumented sftp put -r quirk: Couldn't canonicalize: No such file or directory
Iain Morgan
imorgan at nas.nasa.gov
Fri Apr 18 04:47:10 EST 2014
On Thu, Apr 17, 2014 at 13:45:48 +1000, Damien Miller wrote:
> On Wed, 16 Apr 2014, Parke wrote:
>
> > Hi,
> >
> > As of OpenSSH 6.5 on Ubuntu 14.04 (package version 1:6.5p1-6), there
> > appears to be an undocumented requirement for the sftp "put -r"
> > command. In order to "put -r foo", a remote directory named "foo"
> > must already exist.
>
> Could you file a bug for this at https://bugzilla.mindrot.org/ ?
>
> IMO the directory should be created if it doesn't exist, just like
> "cp -r" does.
>
Actually, bz#2150 already exists regardint this issue.
--
Iain Morgan
More information about the openssh-unix-dev
mailing list