Ownerships in /var/log/.
All of the files and most of the directories in /var/log/ are owned
by root. These are the exceptions.
root@joule:/var/log# ls -ld {c*,ex*,s*}/
drwxr-xr-x 2 _chrony _chrony 4096 Jul 22 2017 chrony/
drwxr-s--- 2 Debian-exim adm 4096 Oct 11 00:00 exim4/
drwxr-xr-x 2 stunnel4 stunnel4 4096 Jul 16 2019 stunnel4/
Comments about the unusual ownerships?
Most of the group ownerships are root or adm.
root@joule:/var/log# ls -ld *
-rw-r--r-- 1 root root 436 Oct 11 13:03 alternatives.log
drwxr-x--- 2 root adm 4096 Oct 11 00:00 apache2
drwxr-xr-x 2 root root 4096 Oct 11 13:03 apt
-rw-r--r-- 1 root root 5831 Oct 11 13:03 aptitude
...
What determines adm or root?
Thanks, ... P.
What determines whether a particular
file or directory is
--
Tel: +1 604 670 0140 Bcc: peter at easthope. ca
Reply to: