Sorry to crosspost, but I have no idea if this is more a PHP question
of general Linux question.
I have a script that makes changes to image files, montages them into
a jpg, and creates a Web page with that image.
It starts with someone from our graphics dept. who I set up to copy
the image files over to the Linux server with SAMBA.
The files gain the owner/group of "nobody" and permissions of 744.
Then a PHP script runs all the processes, obviously under the user
"apache".
Now, even though I have the folder on the server that the files get
copied into within /var/www/html the script doesn't have write
permission to alter those files (whether with mogrify or convert, but
that doesn't matter.)
I added a line where it calls a bash shell script to change
permissions, change ownership, other things, and of course apache
doesn't seem to have the right to run chown or chmod on the files with
"(744) nobody nobody" in a folder with "(777) apache apache".
Any suggestions what I might do? I'm at a complete loss!
Thanks!
Liam