Skip to content
Permalink
Browse files
8261845: File permissions of packages built by jpackage
Reviewed-by: asemenyuk, herrick
  • Loading branch information
Alexander Matveev committed Mar 6, 2021
1 parent 23ee60d commit fa43f926ab2aadc76f23100645089a48fa4bcd7e
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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 @@ private Path buildEXE(Map<String, ? super Object> params, Path msi,

Files.copy(exePath, dstExePath);

dstExePath.toFile().setWritable(true, true);

Log.verbose(MessageFormat.format(
I18N.getString("message.output-location"),
outdir.toAbsolutePath().toString()));

1 comment on commit fa43f92

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on fa43f92 Mar 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.