8261845: File permissions of packages built by jpackage
Reviewed-by: asemenyuk, herrick
This commit is contained in:
parent
23ee60d1b7
commit
fa43f926ab
@ -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.
|
||||
*
|
||||
* 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);
|
||||
|
||||
dstExePath.toFile().setWritable(true, true);
|
||||
|
||||
Log.verbose(MessageFormat.format(
|
||||
I18N.getString("message.output-location"),
|
||||
outdir.toAbsolutePath().toString()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user