default files/folder owner under /var/run

krathni

Member
Mar 6, 2004
10
0
151
Can someone please post the output of ls -l /var/run of cpanel server. One of the scripts messed up the permission & ownership of the folder & need to fix it.

Thanks
 

madaboutlinux

Well-Known Member
Jan 24, 2005
1,051
2
168
Earth
Here is the output :-

[email protected] [~]# ls -l /var/run
total 112
drwxr-xr-x 11 root root 4096 Jan 29 05:12 ./
drwxr-xr-x 23 root root 4096 Jan 23 18:52 ../
-rw-r--r-- 1 root root 4 Sep 20 19:01 apmd.pid
-rw-r--r-- 1 root root 5 Sep 20 19:02 atd.pid
drwxr-xr-x 2 root root 4096 Jan 17 18:55 chkservd/
drwxr-xr-x 2 root root 4096 Oct 23 2003 console/
-rw-r--r-- 1 root root 5 Jan 28 22:31 cpsrvd.pid
-rw-r--r-- 1 root root 6 Dec 15 22:50 crond.pid
drwxr-xr-x 2 root root 4096 Sep 20 19:03 dbus/
srw------- 1 root root 0 Jan 18 22:39 ftpd.sock=
-rw------- 1 root root 4 Sep 20 19:01 klogd.pid
-rw-r--r-- 1 root root 5 Sep 20 19:03 messagebus.pid
drwxrwx--- 2 named named 4096 Jan 28 21:47 named/
drwxrwxr-x 2 root root 4096 Dec 1 2003 netreport/
-rw-r--r-- 1 root root 5 Sep 20 19:11 postmaster.5432.pid
-rw-r--r-- 1 root root 6 Jan 18 22:39 pure-authd.pid
drwx------ 2 root root 4096 Jan 29 17:55 pure-ftpd/
-rw-r--r-- 1 root root 6 Jan 18 22:39 pure-ftpd.pid
drwxr-xr-x 2 radvd radvd 4096 Sep 19 2003 radvd/
-rw-r--r-- 1 root root 5 Sep 20 19:03 rhnsd.pid
-rw-r--r-- 1 rpcuser rpcuser 4 Sep 20 19:01 rpc.statd.pid
drwxr-xr-x 2 root root 4096 Feb 3 2005 saslauthd/
-rw-r--r-- 1 root root 6 Jan 17 18:47 sshd.pid
drwx------ 5 root root 4096 May 6 2005 sudo/
-rw------- 1 root root 4 Sep 20 19:01 syslogd.pid
-rw-rw-r-- 1 root utmp 6528 Jan 29 19:31 utmp
-rw-r--r-- 1 root root 6 Sep 20 19:02 xfs.pid
-rw-r--r-- 1 root root 5 Sep 20 19:01 xinetd.pid

See if it helps you.