diff options
author | D. V. Serg <dvserg@pfsense.org> | 2008-03-26 07:43:08 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2008-03-26 07:43:08 +0000 |
commit | a92cda2fb6479efe77066bdf6564f1a2052de836 (patch) | |
tree | c48ba9aed9e76a1a448b3e4c328c9d4e071ef541 | |
parent | fb1c62c02a2edf2e17ff70e48d2ae0307ea42929 (diff) | |
download | pfsense-packages-a92cda2fb6479efe77066bdf6564f1a2052de836.tar.gz pfsense-packages-a92cda2fb6479efe77066bdf6564f1a2052de836.tar.bz2 pfsense-packages-a92cda2fb6479efe77066bdf6564f1a2052de836.zip |
Add checking DB permissions
-rw-r--r-- | packages/squidGuard/squidguard_configurator.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |