This commit is contained in:
Craig Raw 2024-04-18 10:06:35 +02:00
parent dd64c18c21
commit 72adbe44a7

View file

@ -296,8 +296,6 @@ tasks.jlink.finalizedBy "addUserWritePermission"
task addUserWritePermission(type: Exec) {
if(os.windows) {
commandLine 'icacls', "$buildDir\\image\\legal", '/grant', 'Users:(OI)(CI)F', '/T'
commandLine 'icacls', "$buildDir\\image\\legal\\*"
commandLine 'icacls', "$buildDir\\image\\legal\\java.base\\*"
} else {
commandLine 'chmod', '-R', 'u+w', "$buildDir/image/legal"
}