Skip to content

Commit

Permalink
Fix for permissions on runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
danveitch76 committed Sep 9, 2023
1 parent 3f767af commit 10df054
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sambanas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ RUN curl -Lso /usr/bin/ha "https://github.com/home-assistant/cli/releases/downlo

# Copy data
COPY rootfs /

RUN for f in $(find . -name 'run'); do (cd "$(dirname $f)" && chmod 0755 "$(basename $f)") done && \
for f in $(find . -name 'finish'); do (cd "$(dirname $f)" && chmod 0755 "$(basename $f)") done && \
for f in $(find . -name 'down'); do (cd "$(dirname $f)" && chmod 0755 "$(basename $f)") done && \
for f in $(find . -name 'up'); do (cd "$(dirname $f)" && chmod 0755 "$(basename $f)") done && \
for f in $(find . -name '*.sh'); do (cd "$(dirname $f)" && chmod 0755 "$(basename $f)") done
# Labels
LABEL \
io.hass.name="${BUILD_NAME}" \
Expand Down
2 changes: 1 addition & 1 deletion sambanas/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Samba NAS
version: 10.0.2-nas4a
version: 10.0.2-nas4b
slug: sambanas
description: Expose Home Assistant disc with SMB/CIFS
url: https://github.com/danveitch76/hassio-addons/tree/master/sambanas
Expand Down

0 comments on commit 10df054

Please sign in to comment.