[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] ossec-hids: active-response.c (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	06/09/06 09:47:00

Modified files:
	active-response.c

Log message:
Description: Fixing file permissions (broken with restrictive umasks)
Reviewed by: dcid
Bug:

Index: active-response.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/active-response.c,v
diff -u -r1.2 -r1.3
--- active-response.c	16 Jun 2006 21:22:59 -0000	1.2
+++ active-response.c	6 Sep 2006 12:46:59 -0000	1.3
@@ -47,6 +47,8 @@
         merror(FOPEN_ERROR, ARGV0, DEFAULTARPATH);
         return(-1);
     }
+    chmod(DEFAULTARPATH, 0440);
+
 
     /* Allocating for the active-response */
     tmp_ar = calloc(1, sizeof(active_response));


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.