1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-22 14:13:01 +02:00

also chown home dir

This commit is contained in:
Nick Sweeting
2020-07-20 22:25:01 -04:00
committed by GitHub
parent 63909f6176
commit 0795048622

View File

@@ -13,6 +13,7 @@ COMMAND="$@"
# e.g. ./manage.py runserver
chown "$USID":"$GRID" "$DATA_DIR"
chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER"
usermod -u $USID $ARCHIVEBOX_USER
groupmod -g $GRID $ARCHIVEBOX_USER
gosu $ARCHIVEBOX_USER bash -c "$COMMAND"
gosu $ARCHIVEBOX_USER bash -c "$COMMAND"