2024-12-17 20:06:05 +00:00

14 lines
250 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# permissions
lsiown -R abc:abc \
/config
chmod -R +r /config/log
if [[ -z ${LSIO_READ_ONLY_FS} ]]; then
chmod -R 0644 /etc/logrotate.d
fi
# Workaround for systems with chmod errors
true