Opened 22 years ago

Last modified 22 years ago

#287 closed Bug report

LS only shows files with uid in /etc/passwd

Reported by: cdevidal Owned by:
Priority: normal Component: Other
Keywords: Cc: cdevidal, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

I use winbind on an SFTP server, which uses the
standard nsswitch.conf and associated libraries (so
this problem is likely to be seen with NIS or similar
services). If I use SFTP on a linux commandline or if
I use PSFTP in DOS, I see these files. But FileZilla
ignores these files. It's probably because it doesn't
look up the user/group name with the standard unix
utility getent (or with similar unix calls). All other
unix utilities I've used do this lookup.

This appears to be a bigger issue than winbind. If a
server uses NIS or something else (with settings in
nsswitch.conf), this will probably fail.

I suggest, rather than reading /etc/passwd, do 'getent
passwd' or a similar unix call. Same with groups. I
don't know if the code does this but I assume it does
based on the behavior.

/dev/idal

Change History (2)

comment:1 by cdevidal, 22 years ago

Nevermind, even though I downloaded it just days ago, I got
v1.9.9. Weird. It was fixed some time after that, because
I got 2.1.5 and all's well.

Perhaps I got an old version from download.com? Anyway.
Great program!

comment:2 by Tim Kosse, 22 years ago

Yes, download.com does not list the current version of
FileZilla. The reason is very simple: Unless you pay a lot of
money, you can't add or change already existing program
listings on download.com
I did submit FileZilla when download.com was still free but
now I'm unable to update it.

Note: See TracTickets for help on using tickets.