mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 07:34:27 -04:00
fix chown errors
This commit is contained in:
parent
4bab1c258e
commit
ace9421b21
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ if [[ "$USID" != 0 && "$GRID" != 0 ]]; then
|
||||||
usermod -u "$USID" "$ARCHIVEBOX_USER"
|
usermod -u "$USID" "$ARCHIVEBOX_USER"
|
||||||
groupmod -g "$GRID" "$ARCHIVEBOX_USER"
|
groupmod -g "$GRID" "$ARCHIVEBOX_USER"
|
||||||
chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER"
|
chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER"
|
||||||
chown "$USID":"$GRID" "$DATA_DIR" "$DATA_DIR/*"
|
chown "$USID":"$GRID" "$DATA_DIR"
|
||||||
|
chown "$USID":"$GRID" "$DATA_DIR/*" || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# run django as the new archivebox user
|
# run django as the new archivebox user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue