id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2800	Garbage directory listing in ftpfs	szaszg	slavazanko	"When I open an ftp connection i got a garbage directory list:

{{{
+<- ftp://gergely@localhost/ -.[^]>++<- ~ ------------------------.[^]>+
|'n    Name     | Size  |Permission||'n   Name    | Size  |Modify time |
|/..            |UP--DIR|drwxr-xr-x||/..          |UP--DIR|Aug 13  2011|
|/bin           |   4096|drwxr-xr-x||/.adobe      |   4096|Sep  4  2009|
|?.BALLView     |      0|----------||/.cache      |   4096|May  1 17:51|
|?.FRD          |      0|----------||/.cddb       |   4096|Feb  2  2010|
|?.FontForge    |      0|----------||/.config     |   4096|May  1 17:51|
|?.PgcEdit      |      0|----------||/.dbus       |   4096|Sep  3  2009|
...
}}}

On the ftp server there is a default directory for the user (his home dir).
In the list we see the users home directory in a strange mode.
We see a ""normal"" '''bin''' directory, because there is a '''bin''' directory in the root '/' and in the home dir too.

Now, if i press ctrl+R to refresh the list, i see the ftp server root directory in a ""normal"" way:

{{{
+<- ftp://gergely@localhost/ -.[^]>++<- ~ ------------------------.[^]>+
|'n    Name     | Size  |Permission||'n   Name    | Size  |Modify time |
|/..            |UP--DIR|drwxr-xr-x||/..          |UP--DIR|Aug 13  2011|
|/bin           |   4096|drwxr-xr-x||/.adobe      |   4096|Sep  4  2009|
|/boot          |   4096|drwxr-xr-x||/.cache      |   4096|May  1 17:51|
|/dev           |   3600|drwxr-xr-x||/.cddb       |   4096|Feb  2  2010|
|/etc           |  12288|drwxr-xr-x||/.config     |   4096|May  1 17:51|
|/home          |   4096|drwxr-xr-x||/.dbus       |   4096|Sep  3  2009|
|/lib           |   4096|drwxr-xr-x||/.dvdcss     |   4096|Jul  8  2010|
|/lost+found    |  16384|drwx------||/.fontconfig |   4096|Jan 30  2010|
|/media         |   4096|drwxrwxrwx||/.gegl-0.0   |   4096|Sep  4  2009|
...
}}}

If a press ctrl+R again i see the ftp server 'boot' directory:

{{{
+<- ftp://gergely@localhost/ -.[^]>++<- ~ ------------------------.[^]>+
|'n    Name     | Size  |Permission||'n   Name    | Size  |Modify time |
|/..            |UP--DIR|drwxr-xr-x||/..          |UP--DIR|Aug 13  2011|
|/lost+found    |  16384|drwx------||/.adobe      |   4096|Sep  4  2009|
|?System.~6stanc|      0|----------||/.cache      |   4096|May  1 17:51|
|?System.~-3-686|      0|----------||/.cddb       |   4096|Feb  2  2010|
|?System.~1stanc|      0|----------||/.config     |   4096|May  1 17:51|
|?System.~2stanc|      0|----------||/.dbus       |   4096|Sep  3  2009|
|?System.~4stanc|      0|----------||/.dvdcss     |   4096|Jul  8  2010|
|?System.~8stanc|      0|----------||/.fontconfig |   4096|Jan 30  2010|
|?System.~tanc32|      0|----------||/.gegl-0.0   |   4096|Sep  4  2009|
}}}

Now, if i cd somwhere in the ftpfs, everithing looks OK (after ''cd home/gergely''):

{{{
+<- ...ocalhost/home/gergely -.[^]>++<- ~ ------------------------.[^]>+
|'n    Name     | Size  |Permission||'n   Name    | Size  |Modify time |
|/..            |UP--DIR|drwxr-xr-x||/..          |UP--DIR|Aug 13  2011|
|/.FRD          |   4096|drwxr-xr-x||/.adobe      |   4096|Sep  4  2009|
|/.FontForge    |   4096|drwx------||/.cache      |   4096|May  1 17:51|
|/.PgcEdit      |   4096|drwxr-xr-x||/.cddb       |   4096|Feb  2  2010|

}}}

But if i go back to (ftpfs) root directory, i see again the garbage '''boot''' directory list...

The FTP server is a Pure-ftpd (debian 1.0.35-1)
"	defect	closed	major	4.8.4	mc-vfs	master	fixed					merged	committed-master committed-stable
