Quoting "Jon R. Kibler" <[EMAIL PROTECTED]>:

> Hello:
> 
> Running:
>   Solaris 9
>   Clavav 0.65
> 
> We are having problems getting clamdscan to work. 
> 
> The problem is file permissions. The file being scanned must be either
> other readable, or it must belong to the clamav user or group. We do not
> have this problem with clamscan.
> 
> Any thoughts on how to get clamdscan to read files that the user of the
> program has permission to access, but which clamd does not have
> permission to access?
> 

The only feature that Clamd has relating to this is the AllowSupplementaryGroups
option.

With this option enabled clamd will get group access permissions for each group
the clamd user is a member of in /etc/group.

e.g, If clamd is set to run as the user 'clamav', and you want it to accesss
files belonging to the group 'myfiles', you'd have something like this entry in
/etc/group:

myfiles:x:600:clamav

and make your files group readable (and directories at least group r-x)

The only other way is to run an instance of clamd as the user.

-trog


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to