diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-03-07 08:47:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 08:47:55 -0500 |
commit | 1afd93cb6466b9dc9fdc0a1cd491ce8c14347899 (patch) | |
tree | fe98261b6f290a6144c9f28970b5711ca3cd93ec /packaging/docker/run.sh | |
parent | 1af0c0f144816f43d6f22b23da8d80be5e0f1f1c (diff) |
Fix intermittent permissions issues in some Docker builds. (#14629)
* Fix intermittent permissions issues in some Docker builds.
* Fix issue with PPC64le builds.
Diffstat (limited to 'packaging/docker/run.sh')
-rwxr-xr-x | packaging/docker/run.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/docker/run.sh b/packaging/docker/run.sh index 9c2fcba664..ed77c394a7 100755 --- a/packaging/docker/run.sh +++ b/packaging/docker/run.sh @@ -21,6 +21,8 @@ if [ ! "${DISABLE_TELEMETRY:-0}" -eq 0 ] || touch /etc/netdata/.opt-out-from-anonymous-statistics fi +chmod o+rX / # Needed to fix permissions issues in some cases. + BALENA_PGID=$(stat -c %g /var/run/balena.sock 2>/dev/null || true) DOCKER_PGID=$(stat -c %g /var/run/docker.sock 2>/dev/null || true) |