fix(elasticsearch): Fixed permission to add to directories in elasticsearch plugins (#332)

We need to add the write permission to directories in elasticsearch
plugins, not execute, which they already have.

Sorry @shivaraj-bh this was a typo in my suggestion in #331
This commit is contained in:
Seggy Umboh 2024-09-23 12:56:19 -07:00 committed by GitHub
parent 5720d21f68
commit 67f91ab407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"