Files
docker-seafile-client/assets/change-ownership.sh
2019-04-09 11:46:40 +02:00

10 lines
272 B
Bash

#!/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 ;\
chown $UID.$GID /infinite-seaf-cli-start.sh