mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-07-26 08:05:35 -04:00
Skip logrotate.status file in log chmod
This commit is contained in:
parent
5a5d0ebaec
commit
515fdf45d8
1 changed files with 2 additions and 4 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue