docker/taskserver/root/etc/cont-init.d/35-fix-permissions
2022-09-11 12:33:19 +02:00

9 lines
274 B
Plaintext

#!/usr/bin/with-contenv sh
#shellcheck shell=sh
# make the taskd data dir rw for the user running taskd
chown -R taskd:taskd "$TASKDDATA"
# make client certs readable for every user to work around UID and GID mapping
# inconsistencies across hosts
chmod +r /client_certs/*