> > What happens when you run: > > su -c "/var/qmail/bin/qmail-scanner-queue.pl -g" qscand > > does it error out or actually work? >
Hello Ed: It's strange. When I use the daemontools setuidgid it works, but with su -c it silently ends, without doing anything: [EMAIL PROTECTED] qmailscan]# setuidgid qmailq /var/qmail/bin/qmail-scanner-queue.pl -g perlscanner: generate new DB file from /var/spool/qmailscan/quarantine-attachments.txt perlscanner: total of 16 entries. [EMAIL PROTECTED] qmailscan]# su -c "/var/qmail/bin/qmail-scanner-queue.pl -g" qmailq [EMAIL PROTECTED] qmailscan]# After the su command, there's no change to quarantine-attachments.db. What's the difference between the way those two commands work?? --Micha ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
