I had a bunch of scripts written that uploaded photos, then had Image Magick duplicate and resize them. This all worked fine on the last server, but on my new Linux machine problems have arisen.
Now when a photo is uploaded, the thumbnail created has the proper ownership (same as the upload script), but the larger version of the photo is owned by nobody - and no other user can access it. This causes problems when certain applications try to access the photos.
Any idea how to fix this problem of ownership?