You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permissions on file creation does not work as expected when a umask has been set #1640
Will not work (plan/outputs/files default permissions will fail)
Also, when the test fails, the generated file is not removed (different problem, that should be fixed regardless).
The tests clearly expect things to work as one would assume intuitively they would: set the perm to exactly the one that was specified - and not the current behavior which is: set the perm to permission & umask, so, I assume the intention of the code was the former?
Looking at the code real quick suggests WriteFile delegates to github.com/moby/buildkit/client/llb so...
Hi guys, I'm trying to understand if this issue still applies in 0.2. Since this seems affected by umask on the client machine, I'm guessing the equivalent core action in 0.2 would be client: filesystem: <path>: write ?
Activity
dubo-dubon-duponey commentedon Feb 19, 2022
Thought I would add that I'm happy to fix the tests if the current behavior is expected.
Ping @aluzzardi
shykes commentedon Apr 8, 2022
Hi guys, I'm trying to understand if this issue still applies in 0.2. Since this seems affected by
umaskon the client machine, I'm guessing the equivalent core action in 0.2 would beclient: filesystem: <path>: write?