On 2008-12-16 21:31, Aleksey Tsalolikhin wrote: > On Tue, Dec 16, 2008 at 12:01 AM, Török Edwin <[email protected]> wrote: > >> On 2008-12-16 03:59, Aleksey Tsalolikhin wrote: >> >>> I want to try clamdscan, to benefit from clamd's multi-threadedness. >>> >>> But clamdscan exits with "Access denied" >>> >>> >> What user is clamd running as, and does that user have read access to >> all of your disk? >> > > Dear Edwin, > > clamd is running as user "clamav" and that user does have read access to > all of my disk. All the files are world readable, and the > directories are world > readable and executable (searchable). > > For a test, I ran "su -s /bin/bash clamav" and I was able to list > the directory's > contents and cat a few of the files. > > I tried changing the clamav's UID and GID to 0, but the daemon would not > start... got an "initgroups() failed" message from /sbin/start-stop-daemon > which is I guess some kind of Ubuntu utility... > > But the files are definitely world-readable. > > Any ideas?
Some version of Ubuntu has shiny new AppArmor profiles, that may interfere. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
