From a92cda2fb6479efe77066bdf6564f1a2052de836 Mon Sep 17 00:00:00 2001 From: "D. V. Serg" Date: Wed, 26 Mar 2008 07:43:08 +0000 Subject: Add checking DB permissions --- packages/squidGuard/squidguard_configurator.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/squidGuard') diff --git a/packages/squidGuard/squidguard_configurator.inc b/packages/squidGuard/squidguard_configurator.inc index d3813c56..746a1674 100644 --- a/packages/squidGuard/squidguard_configurator.inc +++ b/packages/squidGuard/squidguard_configurator.inc @@ -414,9 +414,9 @@ function sg_check_system() { if (!file_exists($db_dir)) { mwexec("mkdir -p $db_dir"); $sg_addlog("Create db dir $db_dir"); - // set access right - set_file_access($db_dir, OWNER_NAME, 0755); } + // set access right + set_file_access($db_dir, OWNER_NAME, 0755); } unset($db_dir); } -- cgit v1.2.3