mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-10 04:45:55 +10:00
ignore stderr during chown
This commit is contained in:
@@ -15,7 +15,7 @@ if [[ "$USID" != 0 && "$GRID" != 0 ]]; then
|
||||
groupmod -g "$GRID" "$ARCHIVEBOX_USER"
|
||||
chown -R "$USID":"$GRID" "/home/$ARCHIVEBOX_USER"
|
||||
chown "$USID":"$GRID" "$DATA_DIR"
|
||||
chown "$USID":"$GRID" "$DATA_DIR/*" || true
|
||||
chown "$USID":"$GRID" "$DATA_DIR/*" > /dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
# run django as the new archivebox user
|
||||
|
||||
Reference in New Issue
Block a user