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!

bad permission with chown

Discussion in 'General Discussion' started by absfrm, Jul 23, 2016.

  1. absfrm

    absfrm Member

    Joined:
    Aug 29, 2014
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello

    in my SSH I have unfortunately done a command :

    #chown -R username:username /

    Now all permissions are wrong and sites under WHM's accounts just run with DSO (whi many errors) not suPHP.

    I run many cpanel scripts but did not work

    some commands I run :

    /scripts/enablefileprotect/
    /scripts/mailperm

    And I did

    #chown -R uername:username /home/username/public_html/
    #chown uername:nobody /home/username/public_html/

    what should I do? :(
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    I'll preface this with it's my opinion but...

    I would make a backup and move to another server. You may have made yourself vulnerable to future exploits just fixing the permissions.

    Thanks/Sorry,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    twhiting9275 likes this.
  4. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    555
    Likes Received:
    16
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    Correct, move it all to another server. You've pretty much trashed this one . It can't be relied upon.
     
    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