Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP file ownership problems

Discussion in 'General Discussion' started by JamesSmith, Oct 16, 2006.

  1. JamesSmith

    JamesSmith Well-Known Member

    Sep 17, 2003
    Likes Received:
    Trophy Points:
    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?

Share This Page