mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-07-24 23:25:18 -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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue