From 89cbb0fed52c68aa3b4a1c70f176d5d401df276b Mon Sep 17 00:00:00 2001 From: Arnaud Venturi Date: Sat, 18 Mar 2017 00:56:31 +1000 Subject: [PATCH] Docs: Corrected path to elasticsearch-plugin (#23622) --- docs/plugins/plugin-script.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/plugin-script.asciidoc b/docs/plugins/plugin-script.asciidoc index 3234b6ae226..3a3616ac0e7 100644 --- a/docs/plugins/plugin-script.asciidoc +++ b/docs/plugins/plugin-script.asciidoc @@ -20,7 +20,7 @@ sudo bin/elasticsearch-plugin -h .Running as root ===================== If Elasticsearch was installed using the deb or rpm package then run -`/usr/share/elasticsearch-plugin` as `root` so it can write to the appropriate files on disk. +`/usr/share/elasticsearch/bin/elasticsearch-plugin` as `root` so it can write to the appropriate files on disk. Otherwise run `bin/elasticsearch-plugin` as the user that owns all of the Elasticsearch files. =====================