FTP file ownership problems


Well-Known Member
Sep 17, 2003
UK, Luton
We're fiddling with suPHP for Apache and trying to be as strict as possible on how PHP scripts are executed in a users document root. But have come across a slight problem.

It’s related to the group ownership of a file when it's uploaded from FTP, we're using ProFTPD 1.3.0.

The user is correct, but the group is "nobody", unless we modify our PHP setup to allow files with the group nobody to be executed, the file uploaded will give a 500 error in the browser.

Is there a way to ensure when files are uploaded they take on the correct group we want, without having a virtual host for each different domain?