Was a late nite a few days ago, and while working with a couple SSH windows opened I inadvertently ran a chown command on the base directory (won't say root directory, as that's different). I immediately noticed my mistake but was unable to find any help online to set the directories back to the original ownership. I set the owner to root:root, after setting it to nobody:nobody during the mistake. Things seem to be working, but I want to check with another server owner to see if I set them back right.
Here is the output of my ./ directory:
Could someone verify whether or not the ownership is correct? I don't have access to a second server to check them myself. Though maybe someone here could check theirs to compare for me. It would be greatly appreciated.
Here is the output of my ./ directory:
Code:
# ls -la
total 230
29 root root 4096 Jan 27 10:49 ./
29 root root 4096 Jan 27 10:49 ../
1 root root 0 Jan 27 10:32 .autofsck
1 root root 0 Jan 20 07:15 .autorelabel
2 root root 4096 Jan 21 17:00 bin/
4 root root 1024 Jan 20 07:35 boot/
11 root root 3900 Jan 27 10:33 dev/
100 root root 12288 Jan 27 11:15 etc/
1 nobody nobody 18 Jan 27 10:49 .forward
2 root root 4096 Jan 20 07:38 .gnupg/
15 root root 4096 Jan 27 00:28 home/
4 root root 4096 Jan 25 05:13 home2/
11 root root 4096 Jan 20 08:23 lib/
8 root root 4096 Jan 21 04:06 lib64/
2 root root 16384 Jan 20 01:02 lost+found/
2 root root 4096 Oct 1 2009 media/
2 root root 0 Jan 27 10:32 misc/
2 root root 4096 Oct 1 2009 mnt/
2 root root 0 Jan 27 10:32 net/
10 root root 4096 Jan 23 08:01 opt/
2 root root 4096 Jan 20 08:06 perl5/
171 root root 0 Jan 27 04:31 proc/
1 root root 9216 Jan 27 13:43 quota.user
1 root root 1024 Jan 20 08:13 .rnd
14 root root 4096 Jan 27 00:28 root/
2 root root 12288 Jan 21 17:00 sbin/
1 root root 25 Jan 20 07:17 scripts -> /usr/local/cpanel/scripts/
2 root root 4096 Jan 20 07:05 selinux/
2 root root 4096 Jan 20 08:13 .spamassassin/
2 root root 4096 Oct 1 2009 srv/
11 root root 0 Jan 27 04:32 sys/
3 root root 4096 Jan 20 07:07 tftpboot/
5 root root 20480 Jan 27 13:15 tmp/
17 root root 4096 Jan 20 09:10 usr/
29 root root 4096 Jan 27 10:33 var/