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!

Allowing one account to write on another accounts directory?

Discussion in 'General Discussion' started by bonzo_bcn, Jan 12, 2011.

  1. bonzo_bcn

    bonzo_bcn Registered

    Mar 24, 2008
    Likes Received:
    Trophy Points:
    I have two accounts with 2 different domains:

    I have created a symbolic link:
    /home/domain2/public_html/share points to /home/domain1/public_html/share

    I have a problem with a php script in that looks for files in its /share folder, the files exist, but the php command file_exists returns false.

    If I point the browser to I can see the files.

    It seems a permission problem between both accounts. I've tried assigning the domain2 group to the /share directory, and chmod to 775 but it still doesn't work.

    (I'm using suexec and suphp)

    Any ideas?

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