Welcome to WebmasterWorld Guest from 220.127.116.11
I Have a problem with some file writeing.
I Use fopen to create a new file, but that file gets the owner and group the same as the apache owner and group.
How can i change it so that the file gets the same owner/group as the files i upload with FTP?
If you think this post belongs to apache then please move this post :).
Thx in advanced,
The only solution i can find is to use suExec or something like that.
But that means i have to use CGI, and then the perferonase goes down.
Is there an other solution for this problem?
Thx in advanced.
i Mabye have found a create tool that works just like suExec for CGI scripts.
Thisone is called suPHP [suphp.org], this together with Safe_Mode should do the trick of what i want :).
It will start the script using the owner/group of the script, and therefor every file created by that script will be of the same owner/group.
I haven't tryed it yet, but i have seen some good posts about it.