mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-07 19:55:09 +02:00
Permissions on versions file should be 640
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
e579397f51
commit
d28e795266
@ -52,7 +52,7 @@ rm -f "/etc/pihole/localversions"
|
||||
# Create new versions file if it does not exist
|
||||
VERSION_FILE="/etc/pihole/versions"
|
||||
touch "${VERSION_FILE}"
|
||||
chmod 644 "${VERSION_FILE}"
|
||||
chmod 640 "${VERSION_FILE}"
|
||||
|
||||
# if /pihole.docker.tag file exists, we will use it's value later in this script
|
||||
DOCKER_TAG=$(cat /pihole.docker.tag 2>/dev/null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user