mirror of https://github.com/databricks/cli.git
23f05f5d67
## Changes This used to work because the permission bits for built-in templates were hardcoded to 0644 for files and 0755 for directories. As of #1912 (and the PRs it depends on), built-in templates are no longer pre-materialized to a temporary directory and read directly from the embedded filesystem. This built-in filesystem returns 0444 as the permission bits for the files it contains. These bits are carried over to the destination filesystem. This change updates template materialization to always set the owner's write bit. It doesn't really make sense to write read-only files and expect users to work with these files in a VCS (note: Git only stores the executable bit). The regression shipped as part of v0.235.0 and will be fixed as of v0.238.0. ## Tests Unit tests. |
||
---|---|---|
.. | ||
cloud.go | ||
copy.go | ||
env.go | ||
file.go | ||
helpers.go | ||
interface.go | ||
jdk.go | ||
requirement.go | ||
testutil_test.go |