mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-10-30 20:47:43 +09:00
Skip logrotate.status file in log chmod
This commit is contained in:
@@ -2,9 +2,7 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# permissions
|
||||
find /config/log ! -path '/config/log/logrotate.status' -exec chmod +r {} \+
|
||||
|
||||
lsiown -R abc:abc \
|
||||
/config
|
||||
chmod -R +r /config/log
|
||||
|
||||
# Workaround for systems with chmod errors
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user