|Main Archive Page > Month Archives > clamav-users archives|
On Tue, Dec 16, 2008 at 12:01 AM, Török Edwin <firstname.lastname@example.org> 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?
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
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.