Help! File ownership all messed up.

servercity

Registered
May 19, 2006
2
0
151
I made the mistake of running /scripts/ulimitnamed to fix some problems were having with named, but instead it fried/changed file and directory ownerships randomly over the entire system. I have managed to fix alot of the ownership with user files and OS binaries but i need help resetting the /usr/local/cpanel ownerships.

At the moment none of my users can load /cpanel they all get an 500 Internal server error, im guessing cause the ownership of /usr/local/cpanel/cgi-sys is all messed up.

Please help.
 

servercity

Registered
May 19, 2006
2
0
151
Nevermind i figured it out.

Tried searching for redirect.cgi instead of 500 error and found that the files need to be owned by root:wheel.