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.

Ownership and group of all files and folders changed to 1339! Help!

Discussion in 'General Discussion' started by mrtrafficguy, May 2, 2005.

  1. mrtrafficguy

    mrtrafficguy Registered

    Joined:
    May 2, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    Not sure what to make of this. Getting errors everywhere and I figured out that every single file and folder on this machine has an owner of 1339 and a group of 1339. Have no idea how it happened. Is there a fast way to change everything back to the correct ownership and group settings?

    Thanks!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    No, it's slow and laborius, but you have to find out how it happened, whether it was an accident that you did, or a hacker on the server. you can do a lot with:

    rpm --setperms --setugids -a

    dgbaker wrote something for /home :
    http://forums.cpanel.net/showthread.php?p=85167

    But you mostly have to address each server component as it comes up (or fails to come up).
     
Loading...

Share This Page