Files
Auto_Bangumi/docker/etc/cont-init.d/020-fixuser
2023-04-26 20:12:46 +08:00

13 lines
231 B
Plaintext

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
function __fixuser {
groupmod -o -g "${PGID}" ab
usermod -o -u "${PUID}" ab
chown ab:ab -R /app
}
__fixuser 2>&1 | sed "s#^#cont-init: info: $(realpath $0): &#g"