sftp bugs

Jan Hudec bulb at ucw.cz
Thu Dec 1 08:11:25 GMT 2005


On Wed, Nov 30, 2005 at 19:10:17 -0600, John A Meinel wrote:
> What if we do this:
> sftp://host//absolute/path
> and
> sftp://host/~/relative/path

The second is a special case of the first ;-). Because ~ expands to
/home/user -- *including* the leading slash...

> and then we fight over what this means:
> sftp://host/path

If you simply interpret everything after the third slash as path, then
you get:
sftp://host//absolute/path => /absolute/path (which is absolute)
sftp://host/~/relative/path => /home/user/relative/path (which is absolute)
sftp://host/relative/path => relative/path (which is relative)

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/40b4063b/attachment.pgp 


More information about the bazaar mailing list