Mailing List Archive

problem with qmail-scanner permissions
I am trying to get qmail-scanner installed, but I ran into a snag with
file permissions. When I install, and when I test, I get the following:

cannot write to /var/spool/qmailscan/qmail-scanner-queue-version.txt.tmp
- Permission denied at /var/qmail/bin/qmail-scanner-queue.pl line 1981.
perlscanner: generate new DB file from
/var/spool/qmailscan/quarantine-attachments.txt
X-Qmail-Scanner-1.23st:[] cannot open for write
/var/spool/qmailscan/quarantine-attachments.db.tmp - Permission denied

Now, based on what I have been found in the faq, I think I have the file
permissions set correctly:

drwxr-xr-x 6 qmailq qmail 4096 Oct 29 12:53 .
drwxr-xr-x 7 root root 4096 Aug 23 08:33 ..
-rw-r--r-- 1 root root 0 Oct 29 12:53 .keep
drwxr-x--- 5 qscand qscand 4096 Oct 29 12:53 archive
-rw------- 1 qscand qscand 415 Sep 14 11:42 qmail-queue.log.1
-rw------- 1 qscand qscand 2 Sep 13 02:10
qmail-scanner-queue-version.txt
drwxr-xr-x 5 qscand qscand 4096 Oct 29 12:53 quarantine
-rw-r----- 1 qscand qscand 12288 Sep 14 11:50
quarantine-attachments.db
-rw-r--r-- 1 qscand qscand 7414 Oct 29 12:53
quarantine-attachments.txt
-rw-r--r-- 1 qscand qscand 0 Oct 29 12:53
quarantine.log
drwxr-x--- 4 qscand qscand 4096 Oct 29 13:04 tmp
lrwxrwxrwx 1 root root 14 Oct 29 12:53 viruses.log ->
quarantine.log
drwxr-x--- 5 qscand qscand 4096 Oct 29 12:53 working

Does this look right? I am running from the wrapper.

--
Ian Truelsen
Email: ian@ihtruelsen.dyndns.org
AIM: ihtruelsen
MSN: ihtruelsen@hotmail.com
Yahoo!: iantruelsen
Jabber: iantruelsen@jabber.org
Homepage: http://www.ihtruelsen.dyndns.org

--
gentoo-user@gentoo.org mailing list