File listings are produced using ls -l. For those of you reading in black-and-white the output of ls -l on Linux usually looks something like this:
Now, the database, being a pile of utter shite, expects lines of the former variety, and this has unfortunately become entwined in that bit of the code to the extent that one can't simply modify fix this bug (which is really a bug in the original specification -- using ls -l listings was a stupid idea in the first place).
-rw-rw-r-- 1 jdamery jdamery 7322 Dec 21 16:53 alice.txt -rw-rw-r-- 1 jdamery jdamery 17661 Sep 28 2001 apple.jpg
This hasn't been a problem in my living memory (as maintainer of this code); then in the last three days three different cow-orkers (out of four) have tripped over it.
To complete the set, a few weeks ago steph had a problem which took a plausibe amount of tracking down because his LANG settings were causing ls -l to produce an output more like this:
-rw-rw-r-- 1 jdamery jdamery 7322 2004-12-21 16:53 alice.txt -rw-rw-r-- 1 jdamery jdamery 17661 2001-09-28 14:37 apple.jpg