mirror of
https://github.com/linuxserver/docker-nzbget.git
synced 2026-02-20 06:59:36 +08:00
14 lines
356 B
Bash
14 lines
356 B
Bash
#!/bin/bash
|
|
|
|
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -o -u "$PUID" abc ; fi
|
|
if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
|
|
|
|
echo "
|
|
-----------------------------------
|
|
GID/UID
|
|
-----------------------------------
|
|
User uid: $(id -u abc)
|
|
User gid: $(id -g abc)
|
|
-----------------------------------
|
|
"
|
|
chown abc:abc /app |