Update user/groud ID, fix the script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user