mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-01-20 19:45:54 +08:00
Set config permissions
This commit is contained in:
parent
dc3104bb24
commit
a601ba4d0a
@ -2,6 +2,9 @@
|
||||
|
||||
if [ "$(id -u abc)" != "$PUID" ]; then usermod -u "$PUID" abc ; fi
|
||||
if [ "$(id -g abc)" != "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
|
||||
chown -R abc:abc /config
|
||||
chmod ug+rw /config
|
||||
find /config -type d -print0 | xargs -0 chmod ug+rwx
|
||||
|
||||
echo "
|
||||
-----------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user