Skip to content

Commit 515fdf4

Browse files
committed
Skip logrotate.status file in log chmod
1 parent 5a5d0eb commit 515fdf4

File tree

1 file changed

+2
-4
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-permissions-config

1 file changed

+2
-4
lines changed

root/etc/s6-overlay/s6-rc.d/init-permissions-config/run

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# shellcheck shell=bash
33

44
# permissions
5+
find /config/log ! -path '/config/log/logrotate.status' -exec chmod +r {} \+
6+
57
lsiown -R abc:abc \
68
/config
7-
chmod -R +r /config/log
8-
9-
# Workaround for systems with chmod errors
10-
true

0 commit comments

Comments
 (0)