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!

FTP file ownership problems

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

  1. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice