summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2022-11-28 17:26:19 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2022-11-28 17:26:19 +0200
commitba2074d25bd4afda4bf891b8e404ffb91d5769c7 (patch)
tree323a3d85a4dd4294400f422a048c7655e1f8fba5
parent9a69e68b0f0affeac8aeab66783ae0249d67373f (diff)
downloadvyos-1x-ba2074d25bd4afda4bf891b8e404ffb91d5769c7.tar.gz
vyos-1x-ba2074d25bd4afda4bf891b8e404ffb91d5769c7.zip
T4844: Set DB directory rigths 755 in the update webproxy script
Squidguard: Set DB directory rigths 755 in the update blacklist webproxy script
-rwxr-xr-xsrc/op_mode/webproxy_update_blacklist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/webproxy_update_blacklist.sh b/src/op_mode/webproxy_update_blacklist.sh
index 43a4b79fc..d5f301b75 100755
--- a/src/op_mode/webproxy_update_blacklist.sh
+++ b/src/op_mode/webproxy_update_blacklist.sh
@@ -88,7 +88,7 @@ if [[ -n $update ]] && [[ $update -eq "yes" ]]; then
# fix permissions
chown -R proxy:proxy ${db_dir}
- chmod 2770 ${db_dir}
+ chmod 755 ${db_dir}
logger --priority WARNING "webproxy blacklist entries updated (${count_before}/${count_after})"