clamav-users December 2008 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] clamdscan getting inode_permiss

Re: [Clamav-users] clamdscan getting inode_permission denial on Ubuntu 8.10

From: Aleksey Tsalolikhin <atsaloli.tech_at_nospam>
Date: Tue Dec 16 2008 - 19:31:29 GMT
To: "ClamAV users ML" <clamav-users@lists.clamav.net>


On Tue, Dec 16, 2008 at 12:01 AM, Török Edwin <edwintorok@gmail.com> 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?

Best,
-at



Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml