The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Urgent: Folders and Files Permission(chmod) Problem!

Discussion in 'General Discussion' started by WebHour.net, Oct 4, 2006.

  1. WebHour.net

    WebHour.net Registered

    Joined:
    Feb 23, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello all,

    My server have php/apache injection yesterday and changed all the files and folders to chmod 777, but when i try to create new folder using file manager -> cpanel, by default the folder should be chmod 755 under public_html, but now the folder is automatically set to 777 and even others folders and files also having the same problem, for example i create new account through WHM, all folders n files are chmod 777.

    May i know how to fix it back by default ??

    Thanks.
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    You'll have to clean up your server from the offending tools. You also need to run rkhunter and chkrootkit and see if your server is not compromised.
     
Loading...

Share This Page