Running a new install of version 1.3.8 on LAMP (php 5.2.9, mysql 5.0.81community) and seeing the errors below when I try to upload a duplicate image. Permissions to the images folder are 777. Here are my error messages.

Warning: move_uploaded_file(/home/reseller/public_html/zencart/images/categories/baseballjersey1.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/reseller/public_html/zencart/admin/includes/classes/upload.php on line 112

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpZRfcGU' to '/home/reseller/public_html/zencart/images/categories/baseballjersey1.gif' in /home/reseller/public_html/zencart/admin/includes/classes/upload.php on line 112

Warning: Cannot modify header information - headers already sent by (output started at /home/reseller/public_html/zencart/admin/includes/classes/upload.php:112) in /home/reseller/public_html/zencart/admin/includes/functions/general.php on line 21

The error happens when I try to upload an image that has previously been uploaded. IMHO this should just give a warning that the image has already been uploaded and ask if it is the one that should be used. Hope to see this error trapped in a future release.