Imported Upstream version 2.7
[ossec-hids.git] / src / analysisd / active-response.c
index 5c3d779..f6f2414 100755 (executable)
@@ -1,4 +1,5 @@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/analysisd/active-response.c, 2011/09/08 dcid Exp $
+ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All right reserved.
@@ -9,7 +10,7 @@
  * Foundation
  */
 
+
 #include "shared.h"
 #include "active-response.h"
 
@@ -55,7 +56,7 @@ int AR_ReadConfig(int test_config, char *cfgfile)
 
 
     /* Setting right permission */
-    chmod(DEFAULTARPATH, 0444);
+    chmod(DEFAULTARPATH, 0440);
 
 
     /* Reading configuration */