VPS Administrator question

Discussion in 'Site & Server Administration' started by AlexL, May 27, 2010.

  1. #1
    Heya,
    I have some question.
    I manage some VPS server, yesterday i was reconfig EasyApache (Apache Update) in cpanel, selected PHP Encryption / E-commerce and now all my directories change mod 777 was send errors.
    I must change to 755, Like hostgator servers.

    How i can fix this.

    Can you help me?

    Regards,
    Alex
     
    AlexL, May 27, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Use this command in a shell:

    find /home/*/public_html -type d -perm 0777 -exec chmod 755 {} \;
    Code (markup):
     
    RHS-Chris, May 27, 2010 IP
  3. AlexL

    AlexL Peon

    Messages:
    122
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you very much.
     
    AlexL, May 27, 2010 IP
  4. sysadmin

    sysadmin Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if you need technical help, pm me. I can build you server apache and php :)
     
    sysadmin, May 28, 2010 IP