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!

rsync problem

Discussion in 'General Discussion' started by dyrer, Jan 16, 2010.

  1. dyrer

    dyrer Active Member

    Joined:
    Jun 3, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Website Owner
    after copying all my sites with rsync i dont have permission to to do anything
    to delete, write etc files
    i used rsync -vp -e -r ssh root@oldhost:/home/admin/site/. /home/site/public_html

    even from cPanel I can do anything, change permission etc
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,698
    Likes Received:
    71
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you will probably have to set the correct ownerships

    chown -R site.site /home/site/public_html
    chown site.nobody /home/site/public_html
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dyrer

    dyrer Active Member

    Joined:
    Jun 3, 2005
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Website Owner
    Thanks but still index.php files are not working properly
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. TechBrein

    TechBrein Member

    Joined:
    Jul 31, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    What's the error message? If you're getting error 500, probably you have PHPsuExec (or suPHP) installed and the file index.php has incorrect permission. Modify the permission to 755 for all PHP files to fix it. If you're getting some other error, post it here so that one of us can help you further.
     
    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