I have a script (run as a cron) that creates a new folder called images
on a server and moves images from the root folder to this new folder. Later another function will create thumbnails from these images and places these into another new folder named thumbs
inside that same folder.
However, this function will only work if the parenting images
folder has the owner set to 99 for some strange reason. The folder gets the user as its default owner.
How can I get the script to create a folder with the owner set to 99? Or what could be the reason that the PHP script has no power of chmod-ing files that have the user as the owner?