Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Brian Rectanus <brian.rectanus <at> breach.com>
Subject: Re: Failed to create subdirectories
Newsgroups: gmane.comp.apache.mod-security.user
Date: Wednesday 21st November 2007 17:19:48 UTC (over 9 years ago)
The dirs need to be listable (rx) for every parent dir of yor data dir for
the web server user. Additionally, the data dir needs full write perm for
the web server user. So in most cases, you want at least o+rx on all
parents and then you can make the data dir web server group writable g+wrx
and g+s so that all subdirs will be created with the web server group of
the data dir. You can also make the data dir mode 1777 so it is a 'tmp'
dir, but not recommended.  

Hopefully I did not confse you ;)

-B


----- Original Message -----
From: [email protected]

To: [email protected]

Sent: Wed Nov 21 09:00:56 2007
Subject: [mod-security-users] Failed to create subdirectories

Hi everybody,

I have some problems on using the concurrent mode while setting the 
modsecurity
console application. I did set the parametres SecAuditLogStorageDir (i
created
that directory) and the SecAuditLog (using the script path with pipe) 
and i did
check the permissions but the modsec_debug.log and error.log gives those
logs
below. I couldn't find a way to correct them all thus it would be sensible
if
you mind helping me. Thank you all.


Modsec debug log:
[21/Nov/2007:15:54:00 +0200]
[x.x.x.x/sid#92fde78][rid#95bb818][/cgi-perl/where.pl][1] Audit log: Failed
to
create subdirectories: /etc/httpd/logs/concurrent/20071121/20071121-1554
(Permission denied)

Error log:
[Wed Nov 21 15:50:58 2007] [error] [client x.x.x.x] ModSecurity: Audit log:
Failed to create subdirectories:
/etc/httpd/logs/concurrent/20071121/20071121-1550 (Permission denied) 
[hostname
"x.x.x.x"] [uri "/cgi-local/%2e%2e/abyss.conf"] [unique_id
"q9bCsn8AAAEAAFSUPz0AAAAH"]


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
 
CD: 2ms