mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8261845: File permissions of packages built by jpackage
Reviewed-by: asemenyuk, herrick
This commit is contained in:
parent
23ee60d1b7
commit
fa43f926ab
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -141,6 +141,8 @@ public class WinExeBundler extends AbstractBundler {
|
||||||
|
|
||||||
Files.copy(exePath, dstExePath);
|
Files.copy(exePath, dstExePath);
|
||||||
|
|
||||||
|
dstExePath.toFile().setWritable(true, true);
|
||||||
|
|
||||||
Log.verbose(MessageFormat.format(
|
Log.verbose(MessageFormat.format(
|
||||||
I18N.getString("message.output-location"),
|
I18N.getString("message.output-location"),
|
||||||
outdir.toAbsolutePath().toString()));
|
outdir.toAbsolutePath().toString()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue