Hello everyone,
I apologise if that has already been covered.
I am using Imagemagick to convert image files sent to a (Linux) server to a set size (say 500px wide and proportionally re-sizes the vertical part etc...)
This is called via a Perl script's "system" command.
Up to now, this script was hosted on a server that had no issues in resizing the pics, however I since moved the script onto a new server and the images being converted are created with different access rights, sometimes it's rwxr--r-- and sometimes it's rwxr-xr-x, the work around so far is to have a system chmod call after the system convert call.
I would like to know if there is a configuration setting to enable etc. in order to have the same permissions set at each conversion instead of having to bootleg all my scripts that use "convert".
The weirdest part is that a user will upload a pic and it will be fine then someone else might do the same and the image is broken, (it's there but it not permitted to be shown in the browser, you get a permission denied), and it's AFAIK totally random as well.
The server is running os_CentOS 5 (previously I had a RHEL server and all was fine)
I have not checked what version of ImageMagick it's running.
Thank you for any help and sorry if it is covered somewhere I haven't yet found, I did a thorough web investigation.
Cordially
Gilbert