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

26 lines
454 B
Plaintext
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# permissions
aetherxown -R dockerx:dockerx \
/var/lib/nginx \
/var/tmp/nginx
aetherxown -R dockerx:dockerx \
/config/keys \
/config/log \
/config/nginx \
/config/php
aetherxown dockerx:dockerx \
/config/www
chmod -R g+w \
/config/nginx
chmod -R 644 /etc/logrotate.d
if [[ -f "/config/log/logrotate.status" ]]; then
chmod 600 /config/log/logrotate.status
fi