Skip to content

Commit

Permalink
osbuild: fix permissions on created directories
Browse files Browse the repository at this point in the history
org.osbuild.mkdir takes in a number (base 10) and not octal so
we need to convert from octal to a number. I realized that the
/boot/efi directory needed to also be `0o755` so update that one too.
  • Loading branch information
dustymabe committed Feb 6, 2024
1 parent 3237fd7 commit 1828d46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/coreos.osbuild.aarch64.mpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ pipelines:
options:
paths:
- path: /boot/efi
mode: 448
mode: 493
# platforms.json will live here
- type: org.osbuild.mkdir
options:
paths:
- path: /boot/coreos
mode: 644
mode: 493
- type: org.osbuild.ignition
# Deploy via container if we have a container ociarchive, else from repo.
- mpp-if: ociarchive != ''
Expand Down
2 changes: 1 addition & 1 deletion src/coreos.osbuild.ppc64le.mpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pipelines:
options:
paths:
- path: /boot/coreos
mode: 644
mode: 493
- type: org.osbuild.ignition
# Deploy via container if we have a container ociarchive, else from repo.
- mpp-if: ociarchive != ''
Expand Down
2 changes: 1 addition & 1 deletion src/coreos.osbuild.s390x.mpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pipelines:
options:
paths:
- path: /boot/coreos
mode: 644
mode: 493
- type: org.osbuild.ignition
# Deploy via container if we have a container ociarchive, else from repo.
- mpp-if: ociarchive != ''
Expand Down
4 changes: 2 additions & 2 deletions src/coreos.osbuild.x86_64.mpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ pipelines:
options:
paths:
- path: /boot/efi
mode: 448
mode: 493
# platforms.json will live here
- type: org.osbuild.mkdir
options:
paths:
- path: /boot/coreos
mode: 644
mode: 493
- type: org.osbuild.ignition
# Deploy via container if we have a container ociarchive, else from repo.
- mpp-if: ociarchive != ''
Expand Down

0 comments on commit 1828d46

Please sign in to comment.