Comment 4 for bug 365823

Revision history for this message
Matt LaPlante (cybrmatt) wrote : RE: [Bug 365823] Re: clamav-milter chowns root directory

Please note by root directory I meant / and not /root. I did have some
additional inexplicably clamav owned directories, but the only one that I
can reproduce with the latest version is /:

root@prizm:~# apt-get purge clamav-milter
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  clamav clamav-freshclam clamav-base libclamav6 clamav-daemon libtommath0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  clamav-milter*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 528kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 166111 files and directories currently installed.)
Removing clamav-milter ...
 * Stopping Sendmail milter plugin for ClamAV clamav-milter
[ OK ]
Purging configuration files for clamav-milter ...
Processing triggers for man-db ...
root@prizm:~# chown root /
root@prizm:~# ls -ld /
drwxr-xr-x 21 root root 4096 2009-04-23 20:36 /
root@prizm:~# apt-get -V -t jaunty-proposed install clamav-milter
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
   clamav-docs (0.95.1+dfsg-1ubuntu1.1)
The following NEW packages will be installed:
   clamav-milter (0.95.1+dfsg-1ubuntu1.1)
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 0B/262kB of archives.
After this operation, 528kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package clamav-milter.
(Reading database ... 166093 files and directories currently installed.)
Unpacking clamav-milter (from
.../clamav-milter_0.95.1+dfsg-1ubuntu1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up clamav-milter (0.95.1+dfsg-1ubuntu1.1) ...
 * Starting Sendmail milter plugin for ClamAV clamav-milter
[ OK ]

root@prizm:~# ls -ld /
drwxr-xr-x 21 clamav root 4096 2009-04-23 20:36 /
root@prizm:~# ls -l /
total 100
drwxr-xr-x 2 root root 4096 2009-04-14 14:32 bin
drwxr-xr-x 4 root root 4096 2009-04-17 09:07 boot
drwxr-xr-x 13 root root 13860 2009-04-23 20:37 dev
drwxr-xr-x 197 root root 16384 2009-04-24 08:57 etc
drwxr-xr-x 5 root root 4096 2008-11-13 13:22 home
drwxr-xr-x 2 root root 4096 2006-05-07 12:03 initrd
drwxrwxr-x 21 root root 12288 2009-04-18 14:46 lib
dr-xr-xr-x 143 root root 0 2009-04-23 20:36 proc
drwxr-xr-x 52 root root 4096 2009-04-23 17:32 root
drwxr-xr-x 2 root root 12288 2009-04-20 20:15 sbin
drwxr-xr-x 12 root root 0 2009-04-23 20:36 sys
drwxrwxrwt 5 root root 140 2009-04-24 08:59 tmp
drwxr-xr-x 14 root root 4096 2008-10-13 10:30 usr
drwxr-xr-x 18 root root 4096 2008-12-05 22:43 var