Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I'm running into problems implementing the clamav/perl script to scan uploaded files.
This is an apache1 + su_exec setup for shared hosting.
I see in su_exec.log that the user accessing the perl script is the one that the website
runs under (each site has a user for FTP, cgi, etc.).
It always fails because uid/gid of script and uid/gid of the user that runs it doesn't match.
The script looks simple and might be ported to PHP, which is not under su_exec and can fire
up clamdscan using exec() command.
Any ideas other than this to solve this issue?
From: Ivan Ristic <ivanr@we...> - 2005-11-23 17:30:54
Justin Grindea wrote:
> I'm running into problems implementing the clamav/perl script to scan
> uploaded files.
> This is an apache1 + su_exec setup for shared hosting.
> Any ideas other than this to solve this issue?
No, you can either work to satisfy suexec or re-write the
script in PHP.
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org