opensubscriber
   Find in this group all groups
 
Unknown more information…

q : qmail-scanner-general@lists.sourceforge.net 21 March 2012 • 3:54AM -0400

Re: [Qmail-scanner-general] Problems with clamd
by Matias Lesniak

REPLY TO AUTHOR
 
REPLY TO GROUP




I've made the wrapper like this, as root user:


chmod  0755/var/qmail/bin/qmail-scanner-queue.pl
cd  /usr/local/src/qmail-scanner-2.10/contrib
gcc  -o  qmail-scanner-queue qmail-scanner-queue.c
install  -D  -o  qscand-g  qscand-m6755  qmail-scanner-queue/var/qmail/bin/qmail-scanner-queue


# ll /var/qmail/bin/qmail-scanner-queue
-rwsr-sr-x 1 qscand qscand 8,2K 2012-03-08 11:54 /var/qmail/bin/qmail-scanner-queue


Please, any ideas?



On 03/15/2012 07:55 PM, Jason Haar wrote:
> On 16/03/12 10:57, Matias Lesniak wrote:
>> # ll /var/spool/qscan/tmp/
>> total 16K
>> drwxr-x--- 4 qscand qscand 4,0K 2012-03-15 18:43 .
>> drwxrwx--- 6 qscand qscand 4,0K 2012-03-08 11:56 ..
>> drwxr-x--- 2 root   root   4,0K 2012-03-15 18:43 bmail133184783157023867
>> drwxr-x--- 2 root   root   4,0K 2012-03-15 18:43 bmail133184783157023876
>>
>>
>> Why this archives are chowned root:root ? I think that is may problem.
>>
> Owch - sounds like you setuid root the wrapper instead of setting it to
> qscand? What does "ls -l" show you?
>
> Did you install as per instructions?
>
>   chown qscand:qscand /var/qmail/bin/qmail-scanner-queue
>   chmod 6755 /var/qmail/bin/qmail-scanner-queue
>

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.