diff --git a/stdlib/europa/dagger/engine/fs.cue b/stdlib/europa/dagger/engine/fs.cue index 7494b246..ff4d1d7a 100644 --- a/stdlib/europa/dagger/engine/fs.cue +++ b/stdlib/europa/dagger/engine/fs.cue @@ -43,7 +43,7 @@ package engine // Contents to write contents: string // Permissions of the file - permissions: int + permissions: *0o600 | int // Output filesystem tree output: #FS } diff --git a/tests/plan/outputs/outputs.cue b/tests/plan/outputs/outputs.cue index 086b6239..30101e8f 100644 --- a/tests/plan/outputs/outputs.cue +++ b/tests/plan/outputs/outputs.cue @@ -7,10 +7,10 @@ engine.#Plan & { scratch: engine.#Scratch data: engine.#WriteFile & { - input: scratch.output - path: "/test" - mode: 0o600 - contents: "foobar" + input: scratch.output + path: "/test" + permissions: 0o600 + contents: "foobar" } }