Skip to content

Commit

Permalink
8261845: File permissions of packages built by jpackage
Browse files Browse the repository at this point in the history
Reviewed-by: asemenyuk, herrick
  • Loading branch information
Alexander Matveev committed Mar 6, 2021
1 parent 23ee60d commit fa43f92
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
Expand Down Expand Up @@ -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()));
Expand Down

1 comment on commit fa43f92

@openjdk-notifier
Copy link

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.