Map owner/group IDs to names

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#16 Post by zeno » 2009-07-07 20:18

Has this broken in a recent release of FileZilla?

I noticed today that the Owner/Group column shows numbers (eg 32103 32105) instead of the text name of the file/directory owner. The host isn't aware that anything has changed at their end.

Any suggestions?

Thanks!

User avatar
botg
Site Admin
Posts: 32593
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Map owner/group IDs to names

#17 Post by botg » 2009-07-07 21:00

Your host only returns the uid/gid in MLSD listings, not the actual names.

zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#18 Post by zeno » 2009-07-07 21:06

Thanks for the quick reply, botg. I've passed that on to the host and I'll let you know what he replies.

zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#19 Post by zeno » 2009-07-07 22:03

My host says everything looks OK: he gets the proper owner text on FileZilla locally.

My message log shows:

22:58:22 Status: Retrieving directory listing...
22:58:22 Command: PASV
22:58:22 Response: 227 Entering Passive Mode (<IP address>)
22:58:22 Command: MLSD
22:58:22 Response: 150 Accepted data connection
22:58:22 Response: 226-ASCII
22:58:22 Response: 226-Options: -a -l
22:58:22 Response: 226 63 matches total
22:58:22 Status: Directory listing successful

So it looks like an MLSD command is being sent. Is this the right reply?

Thanks.

User avatar
botg
Site Admin
Posts: 32593
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Map owner/group IDs to names

#20 Post by botg » 2009-07-07 23:04

The reply to the MLSD doesn't matter much as long as it has a leading 2. What's important is the listing it sends on the data channel. You can look at the raw listing if you enable "Show raw directory listings" in the settings dialog.

zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#21 Post by zeno » 2009-07-07 23:08

This gives:

00:05:46 Command: MLSD
00:05:47 Response: 150 Accepted data connection
00:05:47 Response: 226-ASCII
00:05:47 Response: 226-Options: -a -l
00:05:47 Response: 226 63 matches total
00:05:47 Listing: type=cdir;sizd=4096;modify=20090704233322;UNIX.mode=0750;UNIX.uid=32103;UNIX.gid=99;unique=803ga58f18; .
00:05:47 Listing: type=pdir;sizd=4096;modify=20090707181414;UNIX.mode=0711;UNIX.uid=32103;UNIX.gid=32105;unique=803g84008f; ..
00:05:47 Listing: type=file;size=15;modify=20090625091633;UNIX.mode=0600;UNIX.uid=32103;UNIX.gid=32105;unique=803ga5813e; .ftpquota
00:05:47 Listing: type=file;size=20;modify=20090108154230;UNIX.mode=0644;UNIX.uid=32103;UNIX.gid=32105;unique=803ga5825f; .htaccess

etc, etc

00:05:47 Status: Directory listing successful

Does this help?

User avatar
boco
Contributor
Posts: 24902
Joined: 2006-05-01 03:28
Location: Germany

Re: Map owner/group IDs to names

#22 Post by boco » 2009-07-08 01:46

Listing: type=file;size=15;modify=20090625091633;UNIX.mode=0600;UNIX.uid=32103;UNIX.gid=32105;unique=803ga5813e; .ftpquota
See? There's no actual user/group name. Just user ID and group ID.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#23 Post by zeno » 2009-07-08 08:38

Thanks. I've passed this on to the host. What is strange is that I get the same thing from another account that is hosted on a different server, so it doesn't appear to be the configuration of that one server that is causing the problem.

zeno
504 Command not implemented
Posts: 6
Joined: 2009-07-07 20:08

Re: Map owner/group IDs to names

#24 Post by zeno » 2009-07-08 17:19

I got this reply from the host:
This appears to be an issue with pureftpd and the connecting client. The client *should* fall back to the default LIST command if MLSD is not supported. In this case, there appears to be a bug with Pureftpd's implementation of the MLSD extension, so you'll need to use a client that supports the LIST command. If MLSD is the default setting in the client, it will fail if there is an issue with MLSD on the server.

Most clients do not even show the user/group (SmartFTP, CoreFTP, etc) so many people never notice this bug.
If I understand this correctly, it is really a problem with the pureftpd server. Since it used to work OK with FileZilla, I assume pureftpd has changed recently.

Is there anything FileZilla can do to overcome the issue?

Thanks.

User avatar
botg
Site Admin
Posts: 32593
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Map owner/group IDs to names

#25 Post by botg » 2009-07-08 17:28

Nothing you can do, FileZilla does things the right way.

Post Reply