I have noticed some vendored files (from bazel vendor //...
) are created with permissions that make git management difficult. Is there a way in bazel to automatically change the permissions to something reasonable such as 755?
I have tried manually setting permissions and looking through the Bazel docs but don't see anything about this.
I discovered the issue was not actually permissions related, but was caused by line endings. I recommend vendored files be excluded from line ending correction in git using .gitattributes.