From 7fce2aad47ec5644ffd8d9de374bc129c9a2cf08 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 25 Nov 2017 19:55:33 +0100 Subject: [PATCH] bloody permissions --- Dockerfile | 1 - rootfs/etc/fix-attrs.d/01-airsonic data | 9 ++++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a68e94..c3da00c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ RUN chown -R airsonic:airsonic ${AIRSONIC_DIR} RUN mkdir -p $AIRSONIC_DIR/data/transcode RUN ln -s /usr/bin/ffmpeg $AIRSONIC_DIR/data/transcode/ffmpeg -RUN chmod +x /usr/bin/ffmpeg ADD /rootfs / diff --git a/rootfs/etc/fix-attrs.d/01-airsonic data b/rootfs/etc/fix-attrs.d/01-airsonic data index fb3a180..9b89e79 100644 --- a/rootfs/etc/fix-attrs.d/01-airsonic data +++ b/rootfs/etc/fix-attrs.d/01-airsonic data @@ -1,3 +1,10 @@ -/home/airsonic/data true airsonic 0644 0755 +/home/airsonic/data/db true airsonic 0644 0755 +/home/airsonic/data/lastfmcache true airsonic 0644 0755 +/home/airsonic/data/lucene2 true airsonic 0644 0755 +/home/airsonic/data/thumbs true airsonic 0644 0755 +/home/airsonic/data/transcode false airsonic 0644 0755 /home/airsonic/playlists true airsonic 0640 0755 /home/airsonic/podcasts true airsonic 0640 0755 +/home/airsonic/airsonic.log false airsonic 0640 0755 +/home/airsonic/airsonic.properties false airsonic 0640 0755 +/home/airsonic/rollback.sql false airsonic 0640 0755