{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/17944","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17944/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17944/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17944/events","html_url":"https://github.com/elastic/elasticsearch/issues/17944","id":150598515,"number":17944,"title":"Plugin script not found inside bin folder.","user":{"login":"iqbalmalik89","id":4177656,"avatar_url":"https://avatars.githubusercontent.com/u/4177656?v=3","gravatar_id":"","url":"https://api.github.com/users/iqbalmalik89","html_url":"https://github.com/iqbalmalik89","followers_url":"https://api.github.com/users/iqbalmalik89/followers","following_url":"https://api.github.com/users/iqbalmalik89/following{/other_user}","gists_url":"https://api.github.com/users/iqbalmalik89/gists{/gist_id}","starred_url":"https://api.github.com/users/iqbalmalik89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iqbalmalik89/subscriptions","organizations_url":"https://api.github.com/users/iqbalmalik89/orgs","repos_url":"https://api.github.com/users/iqbalmalik89/repos","events_url":"https://api.github.com/users/iqbalmalik89/events{/privacy}","received_events_url":"https://api.github.com/users/iqbalmalik89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/feedback_needed","name":"feedback_needed","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-23T21:32:44Z","updated_at":"2016-04-24T11:02:53Z","closed_at":"2016-04-24T11:02:53Z","body":"2.3.1\r\n\r\n**JVM version**:\r\n\r\nEl Capitan latest\r\n\r\nI installed elastic search but plugin script not found inside bin folder so I am unable to install any plugin.\r\n\r\n**Steps to reproduce**:\r\n 1.Install latest elasticsearch\r\n 2.check bin directory\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/213936199","html_url":"https://github.com/elastic/elasticsearch/issues/17944#issuecomment-213936199","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17944","id":213936199,"user":{"login":"jasontedor","id":4744941,"avatar_url":"https://avatars.githubusercontent.com/u/4744941?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontedor","html_url":"https://github.com/jasontedor","followers_url":"https://api.github.com/users/jasontedor/followers","following_url":"https://api.github.com/users/jasontedor/following{/other_user}","gists_url":"https://api.github.com/users/jasontedor/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontedor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontedor/subscriptions","organizations_url":"https://api.github.com/users/jasontedor/orgs","repos_url":"https://api.github.com/users/jasontedor/repos","events_url":"https://api.github.com/users/jasontedor/events{/privacy}","received_events_url":"https://api.github.com/users/jasontedor/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T11:02:53Z","updated_at":"2016-04-24T11:02:53Z","body":"When you install Elasticsearch from homebrew there is a message under \"Caveats\" that says:\r\n\r\n```\r\nplugin script: /usr/local/Cellar/elasticsearch/2.3.1/libexec/bin/plugin\r\n```\r\n\r\nIf you check this location, you will see:\r\n\r\n```bash\r\n$ ls -al /usr/local/Cellar/elasticsearch/2.3.1/libexec/bin/plugin \r\n-rwxr-xr-x  1 jason  admin  3056 Apr 24 06:59 /usr/local/Cellar/elasticsearch/2.3.1/libexec/bin/plugin\r\n```\r\n\r\nThe [reason](https://github.com/Homebrew/legacy-homebrew/pull/47941) for this is because executables that go in bin folder get symlinked from `/usr/local/bin`, this location is on the path, and we would prefer to not put such a generically-named script on the path."}}