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/
|
||||
EOF
|
||||
for d in "${HOST_VOLUME_DIRS[@]}"; do
|
||||
printf ' → install -d -m 0755 %s\n' "$d"
|
||||
printf ' → install -d -m 0777 %s\n' "$d"
|
||||
done
|
||||
cat <<EOF
|
||||
|
||||
|
|
@ -280,7 +280,7 @@ for d in "${HOST_VOLUME_DIRS[@]}"; do
|
|||
log "unchanged: ${d}"
|
||||
else
|
||||
log "creating: ${d}"
|
||||
install -d -m 0755 -o root -g root "$d"
|
||||
install -d -m 0777 -o root -g root "$d"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue