[java-identity-provider] branch main updated: IDP-2164 Write access is required when running plugin.sh --list
Rod Widdowson
rdw at steadingsoftware.com
Sat Aug 26 10:46:58 UTC 2023
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=8b6727acec7fbdece9e4ef6009e7d86340cc3b91
The following commit(s) were added to refs/heads/main by this push:
new 8b6727ace IDP-2164 Write access is required when running plugin.sh --list
8b6727ace is described below
commit 8b6727acec7fbdece9e4ef6009e7d86340cc3b91
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Aug 26 11:45:45 2023 +0100
IDP-2164 Write access is required when running plugin.sh --list
https://shibboleth.atlassian.net/browse/IDP-2164
Move the classpath workspace out from dist to $TMP (where it always should
have been)
---
.../net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
index 7aaa41fa1..f80295ddd 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
@@ -926,7 +926,12 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
moduleContext.setHttpClientSecurityParameters(securityParams);
moduleContext.setHttpClient(httpClient);
distPath = idpHome.resolve("dist");
- final Path wsp = workspacePath = distPath.resolve("plugin-workspace");
+ final Path wsp;
+ try {
+ wsp = workspacePath = Files.createTempDirectory("plugin-installer-workspace");
+ } catch (final IOException e) {
+ throw new ComponentInitializationException(e);
+ }
final Path pwp = pluginsWebapp = distPath.resolve("plugin-webapp");
final Path pcp = pluginsContents = distPath.resolve("plugin-contents");
assert wsp!=null && pwp!=null && pcp!=null && distPath!=null;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list