File_column and versions acting up...about to spit blood and

Hey railsers…anyone run into this problem?

I’m developing an app which I’m deploying with Capistrano. That being
said,
I’ve stuck all the file_column goodies in public/system/…

During my deployment script I chmod -R that directory and everything in
it
to make sure www-data (the apache user/group) has access to it.

In development mode on my Macbook I can upload images and see their
versions
just fine. If I do the same thing on the production server, the image
uploads, but the thumbnail versions (2 of them) don’t get created…I
can
reference the original image and see it just fine, but the versions that
are
supposedly created magically aren’t being created.

After investigation on the server I see they’re being created, but
they’re 0
bytes. There are no errors in the log, I can sudo to the apache user,
and
create files in the same directory - so I’m pretty sure it’s not a
permissions problem.

I’m becoming infected with rage here and about to throw my computer out
the
window…anyone have an idea what the hell is going on?

PS: I know ImageMagick is working fine because I’m using NoisyImage to
generate CAPTCHA images for the site.

Another thing - I created a “medium” version and it uploads, yet
crops/chops
off the bottom 1/2 of the picture. Anyone seen that one before either?

ok i have $150.00 for whoever solves
this…paypal.
hit me.