chown directory

This commit is contained in:
Arinerron 2019-03-30 16:46:46 -07:00
parent 00d9ae975e
commit 0fe241bea2
No known key found for this signature in database
GPG Key ID: 99383627861C62F0

View File

@ -17,6 +17,7 @@ fi
mkdir -p "$ONIONR_HOME" "$LOG_DIR" mkdir -p "$ONIONR_HOME" "$LOG_DIR"
chmod -R 700 "$ONIONR_HOME" "$LOG_DIR" chmod -R 700 "$ONIONR_HOME" "$LOG_DIR"
chown -R $USER:$USER "$ONIONR_HOME" "$LOG_DIR"
cd "$OUTPUT_DIR/onionr" cd "$OUTPUT_DIR/onionr"
exec python3.7 onionr.py "$@" exec python3.7 onionr.py "$@"