fix: [nomad-step-3] S3-fix-3 — host-volume dirs need 0777 for non-root containers (#953)
This commit is contained in:
parent
c20b0a8bd2
commit
494958f97a
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ if [ "$dry_run" = true ]; then
|
||||||
[dry-run] Step 4/9: create host-volume dirs under /srv/disinto/
|
[dry-run] Step 4/9: create host-volume dirs under /srv/disinto/
|
||||||
EOF
|
EOF
|
||||||
for d in "${HOST_VOLUME_DIRS[@]}"; do
|
for d in "${HOST_VOLUME_DIRS[@]}"; do
|
||||||
printf ' → install -d -m 0755 %s\n' "$d"
|
printf ' → install -d -m 0777 %s\n' "$d"
|
||||||
done
|
done
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
|
|
@ -280,7 +280,7 @@ for d in "${HOST_VOLUME_DIRS[@]}"; do
|
||||||
log "unchanged: ${d}"
|
log "unchanged: ${d}"
|
||||||
else
|
else
|
||||||
log "creating: ${d}"
|
log "creating: ${d}"
|
||||||
install -d -m 0755 -o root -g root "$d"
|
install -d -m 0777 -o root -g root "$d"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue