-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Description
With Gradle application plugin, installBootDist task is available to install distribution files.
When performing installBootDist, I observed the installed executables have wrong permission:
$ ./gradlew clean installBootDist
BUILD SUCCESSFUL in 1s
5 actionable tasks: 5 executed
$ ls -l build/install/initial-boot/bin/
total 24
-r-x-wSr-t 1 (xxx) (xxx) 5207 8 21 19:19 initial
-r-x-wSr-t 1 (xxx) (xxx) 2178 8 21 19:19 initial.bat
$ gstat -c "%a %n" ./build/install/initial-boot/bin/initial*
3525 ./build/install/initial-boot/bin/initial
3525 ./build/install/initial-boot/bin/initial.bat
Tested on mac.
The file permission is set to -r-x-wSr-t (0x755 in hex is 3525 in octal).
It should be like -rwxr-xr-x (0755, octal).
Sample project
Version tested
spring-boot-gradle-plugin: 2.0.4.RELEASE
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug