Skip to content
This repository has been archived by the owner. It is now read-only.
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 with 3 additions and 1 deletion.
  1. +3 −1 src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinExeBundler.java
@@ -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()));

0 comments on commit fa43f92

Please sign in to comment.