Update user/groud ID, fix the script

This commit is contained in:
flow.gunso
2019-04-09 12:00:42 +02:00
parent 4bc58a0927
commit 8a0225edeb

View File

@@ -1,9 +1,9 @@
#!/bin/bash
groupadd -g $GID -o $UNAME ;\
useradd -m -u $UID -g $GID -o -s /bin/bash $UNAME ;\
chown $UID.$GID -R /.seafile ;\
chown $UID.$GID -R /.supervisord ;\
chown $UID.$GID -R /volume ;\
chown $UID.$GID /entrypoint.sh ;\
groupmod -u $GID $UNAME
usermod -u $UID $UNAME
chown $UID.$GID -R /.seafile
chown $UID.$GID -R /.supervisord
chown $UID.$GID -R /volume
chown $UID.$GID /entrypoint.sh
chown $UID.$GID /infinite-seaf-cli-start.sh