Re: @inspectFile script does not write to files
Thorsten Kampe <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <[email protected]> |
* Christian Folini (Tue, 2 Oct 2018 20:26:53 +0200) > I can't confirm. I'm getting the tmp file as expected. > > Do you have permissions restricting the www-data user from writing to /tmp? It was actually a permissions issue (kind of). Apache was obviosly able to write to /tmp because that's were the scanned files were temporarily stored. I switched the log directory for my shell script from /tmp to /var/log/apache2. This is where Apache writes its log files so I could not expect any permission issues. Despite of that Apache's error.log now showed permission errors. There were no error log entries when I used /tmp. I created a new directory and made www-data the owner. Now everything works fine. Thanks, guys Thorsten _______________________________________________ mod-security-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mod-security-users Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: http://www.modsecurity.org/projects/commercial/rules/ http://www.modsecurity.org/projects/commercial/support/