Public bug reported:
https://launchpad.net/malone/bugs/29485

Affects: gnome-vfs2 (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
There are problems with ftp and symbolic links that contain spaces. To
Illustrate I made the following directory:

[ kjetil ~ ]$ gnomevfs-ls file:///ftp/test/ | sort
1_without_Spaces                (Directory, x-directory/normal) size 4096       
mode 0755
2_without_Spaces_Link1   [link: /ftp/test/1_without_Spaces ]  (Directory, 
x-directory/normal) size 4096       mode 0755
3 without Spaces Link2   [link: /ftp/test/1_without_Spaces ]  (Directory, 
x-directory/normal) size 4096       mode 0755
4 with Spaces           (Directory, x-directory/normal) size 4096       mode 
0755
5_with_Spaces_Link1      [link: /ftp/test/4 with Spaces/ ]    (Directory, 
x-directory/normal) size 4096       mode 0755
6 with Spaces Link2      [link: /ftp/test/4 with Spaces/ ]    (Directory, 
x-directory/normal) size 4096       mode 0755
.               (Directory, x-directory/normal) size 4096       mode 0755
..              (Directory, x-directory/normal) size 4096       mode 0775

When accessing the dir via ftp I get the following:

[ kjetil ~ ]$ gnomevfs-ls ftp://kjetil:[EMAIL PROTECTED]/test | sort
1_without_Spaces                (Directory, x-directory/normal) size 4096       
mode 0755
2_without_Spaces_Link1   [link: /test/1_without_Spaces ]        (Directory, 
x-directory/normal) size 4096       mode 0755
3        [link: /test/1_without_Spaces ]        (Directory, x-directory/normal) 
size 4096       mode 0755
4 with Spaces           (Directory, x-directory/normal) size 4096       mode 
0755
5_with_Spaces_Link1      [link: 4 ]     (Symbolic Link, x-special/symlink)      
size 14 mode 0777
6        [link: 4 ]     (Symbolic Link, x-special/symlink)      size 14 mode 
0777
.               (Directory, x-directory/normal) size 4096       mode 0755
..              (Directory, x-directory/normal) size 4096       mode 0775

This makes the links numbered 3 and 6 (the ones with spaces in them) not
work.

As you can the links can point to a file containing spaces, but cannot
have spaces itself. The spaces need not be in the actual filename of the
link, they can be anywhere in its path.

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to