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