On Mon, Sep 29, 2003 at 01:51:38PM -0600, Jay Eno wrote: > > I'm having a problem trying to integrate clamscan with qmail-scanner. > Basically, it tries to run the scanner on $scandir/$file_id/* but it doesn't > seem to create the files in there with the correct permissions. The > directory itself is all OK, but the files within are owned by root, and have > a gid of qmail, with permissions of 0600. Hence, scanmail, spawned as a > sub-process of qmail-scanner, can't read them.
Files are owned by root? You have something setuid root that shouldn't be... *Every* file within the /var/spool/qmailscan dir should be owned by qscand. No exceptions. -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
