incubator-mod_ftp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <>
Subject Directory listings: LFS issues and other funky stuff
Date Mon, 18 Dec 2006 15:10:12 GMT

I'm seeing weird stuff regarding large files and directory listings.

I simply don't see large files in the directory listing output, but an 
strace shows that it stats all files (including the large ones), but 
then it does something else (a subrequest for each file?) which 
stats all files except for the large ones.

If it's doing a subrequest for each file I suspect it's to hide 
forbidden files. Since we're an anonftp only server this seems rather 
unneccesary, is there a way to turn it off?

I tried to make sense of the directory listing stuff, but I got rather 
confused. For example, I don't get the globbing stuff. Isn't there an 
APR way to do such things?

In any case, I can't figure out why it should discriminate my poor 
DVD images, so I need someone elses eyes on this. I can bang on the 
code to make it work, but I need to figure out where it's broken first 

For what it's worth, I'd say that all LFS issues are release 
showstoppers. You can't have an FTP server today that doesn't handle 
large files.

This is same config as before, ie. httpd 2.2.3 --with-included-apr on 
32bit x86 Linux (Ubuntu Dapper).

  Niklas Edmundsson, Admin @ {acc,hpc2n}      |
  Death is not the end; there remins the litigation.

View raw message