-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing gradle spotlessApply
changes permission on the changed files from 644
to 755
#654
Comments
Interesting! There are two tasks involved. spotless/lib/src/main/java/com/diffplug/spotless/PaddedCell.java Lines 264 to 266 in 43e4e97
And then spotless/plugin-gradle/src/main/java/com/diffplug/gradle/spotless/SpotlessApply.java Line 71 in 43e4e97
The purpose of the temp location is that it allows |
I guess maven users probably have the same problem. The case there is a little simpler, there's no copy, just spotless/plugin-maven/src/main/java/com/diffplug/spotless/maven/SpotlessApplyMojo.java Line 47 in 43e4e97
|
Thanks for the pointers. With |
Fixed in |
summary of problem
Executing
gradle spotlessApply
changes permission on the changed files from644
to755
gradle or maven version
Gradle 6.5.1
spotless version
operating system and version
Running MSYS2 on Windows 10
full Spotless configuration block(s)
git config
Note that the result is the same with
core.filemode
set tofalse
.The text was updated successfully, but these errors were encountered: