From 79927489ad135dba85a506e9245ecdbdffeaadb4 Mon Sep 17 00:00:00 2001 From: Seggy Umboh Date: Fri, 20 Sep 2024 17:51:28 -0700 Subject: [PATCH] fix(elasticsearch): Fixed permission to add to directories in elasticsearch plugins --- nix/services/elasticsearch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/services/elasticsearch.nix b/nix/services/elasticsearch.nix index 705f2fc5..07da86b0 100644 --- a/nix/services/elasticsearch.nix +++ b/nix/services/elasticsearch.nix @@ -149,7 +149,7 @@ in # Install plugins rm -rf "${config.dataDir}/plugins" cp -rL ${esPlugins}/plugins "${config.dataDir}/plugins" - find "${config.dataDir}/plugins" -type d -exec chmod u+x {} \; + find "${config.dataDir}/plugins" -type d -exec chmod u+w {} \; rm -f "${config.dataDir}/lib" ln -sf ${config.package}/lib "${config.dataDir}/lib"