Rights Apache2 webserver and ftp

Hi, i have a question regarding my own webserver. I run Debian Sarga with Apache2, PHP4, MySQL and ProFTPd. When i use ftp to upload things to my webserver, the files get the owner 'kensentme' and the group 'www-data', this is the group Apache2 runs in. When i install a cms like Limbo, which runs on a textfile based database, the PHP-scripts create files. Those files have the owner and group www-data (that of Apache2).

The problem comes when i try to delete the files from my webserver using ftp. Because the rights to those files are restricted to the owner, i can't delete them using ftp (logging in as kensentme). It can only be done by logging in as root on the server and then delete them with the command line.

I know Apache2 has the mpm-perchild, but according to the apache-developers it's not safe to use it.

How do professional hosters solve this problem (or deal with it) and are there safe and secure alternatives?

 

 

 

 

Top