linuxserver-mods/skip-chown/root/etc/s6-overlay/s6-rc.d/init-adduser/run
Michel Roux 351b6f2ca4
Some checks failed
dl / skip-chown (push) Failing after 18s
dl / wireguard-ipv6 (push) Failing after 15s
feat: 🎉 initial commit
2024-05-15 20:36:19 +02:00

18 lines
398 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# https://github.com/linuxserver/docker-baseimage-alpine/blob/master/root/etc/s6-overlay/s6-rc.d/init-adduser/run
PUID=${PUID:-911}
PGID=${PGID:-911}
groupmod -o -g "$PGID" abc
mkdir /dummy
usermod -d /dummy abc
usermod -o -u "$PUID" abc
usermod -d /config abc
rmdir /dummy
lsiown abc:abc /app
lsiown abc:abc /config
lsiown abc:abc /defaults