also chown home dir
This commit is contained in:
parent
63909f6176
commit
0795048622
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ COMMAND="$@"
|
||||||
# e.g. ./manage.py runserver
|
# e.g. ./manage.py runserver
|
||||||
|
|
||||||
chown "$USID":"$GRID" "$DATA_DIR"
|
chown "$USID":"$GRID" "$DATA_DIR"
|
||||||
|
chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER"
|
||||||
usermod -u $USID $ARCHIVEBOX_USER
|
usermod -u $USID $ARCHIVEBOX_USER
|
||||||
groupmod -g $GRID $ARCHIVEBOX_USER
|
groupmod -g $GRID $ARCHIVEBOX_USER
|
||||||
gosu $ARCHIVEBOX_USER bash -c "$COMMAND"
|
gosu $ARCHIVEBOX_USER bash -c "$COMMAND"
|
Loading…
Reference in a new issue