diff --git a/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run index d125bbb..626ae87 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-lighttpd-config/run @@ -17,6 +17,8 @@ if [ ! -f /app/www/index.html ]; then fi # Rechte setzen -chown -R abc:users /config /app/www +echo "Setze Berechtigungen auf PUID: ${PUID:-911} und PGID: ${PGID:-1000}" +chown -R "${PUID:-911}:${PGID:-1000}" /config +chown -R "${PUID:-911}:${PGID:-1000}" /app/www echo "Ende: init-lighttpd-config" \ No newline at end of file