ignore stderr during chown
This commit is contained in:
parent
ace9421b21
commit
f6ec98e1c0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue