@cryptotaxi247 / netdata-1 / commits / f71a8295b

docker: make chmod o+rX / non fatal (#16156)

Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>

Ilya Mashchenko committed Oct 10, 2023 at 15:29 UTC f71a8295b293b05ffcfb2835cd75986604d96555
1 file changed +1 -1
packaging/docker/run.sh
+1 -1
@@ -21,7 +21,7 @@ if [ ! "${DISABLE_TELEMETRY:-0}" -eq 0 ] ||
21 touch /etc/netdata/.opt-out-from-anonymous-statistics
22 fi
23
24 -chmod o+rX / # Needed to fix permissions issues in some cases.
24 +chmod o+rX / 2>/dev/null || echo "Unable to change permissions without errors."
25
26 BALENA_PGID=$(stat -c %g /var/run/balena.sock 2>/dev/null || true)
27 DOCKER_PGID=$(stat -c %g /var/run/docker.sock 2>/dev/null || true)