fix(k8s/archmirror): force 664 perms on synced files to fix nginx 403
This commit is contained in:
@@ -26,7 +26,7 @@ data:
|
|||||||
log "Sync attempt $i/$MAX_RETRIES from $MIRROR_URL"
|
log "Sync attempt $i/$MAX_RETRIES from $MIRROR_URL"
|
||||||
|
|
||||||
if rsync --timeout=600 \
|
if rsync --timeout=600 \
|
||||||
-rlptH --safe-links --delete-delay --delay-updates \
|
-rltH --no-perms --chmod=D755,F664 --safe-links --delete-delay --delay-updates \
|
||||||
-v --info=progress2 \
|
-v --info=progress2 \
|
||||||
"$MIRROR_URL/" "$TARGET_DIR/"; then
|
"$MIRROR_URL/" "$TARGET_DIR/"; then
|
||||||
log "Sync completed successfully"
|
log "Sync completed successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user