Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

default files/folder owner under /var/run

Discussion in 'General Discussion' started by krathni, Jan 29, 2006.

  1. krathni

    krathni Member

    Joined:
    Mar 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    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
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Here is the output :-

    root@new [~]# 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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. krathni

    krathni Member

    Joined:
    Mar 6, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Thanks Shekar. Appreciate it. I was able to fix the problem.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice