Skip logrotate.status file in log chmod

This commit is contained in:
thespad 2025-01-19 16:52:45 +00:00
parent 5a5d0ebaec
commit 515fdf45d8
No known key found for this signature in database

View File

@ -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