# Kibana Local Set Up - Permissions Issue

**URL:** <https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681>\
**Category:** Kibana\
**Created:** [May 11, 2021, 10:50am UTC](https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681 "2021-05-11T10:50:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikramnr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramnr/32/66065_2.png) [@vikramnr](https://discuss.elastic.co/u/vikramnr)\
**Post date:** [May 11, 2021, 10:50am UTC](https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681/1 "2021-05-11T10:50:10Z")

</div>

I have setup kibana as per the guide and I have checked out version as well. But while running bootstrap cmd, I have been presented with below error

```auto
info If you think this is a bug, please open a bug report with the information provided in "/home/madhumitha/vikram/current-projects/kibana/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR [bootstrap] failed:
ERROR Error: Command failed with exit code 1: yarn install --non-interactive
          at makeError (/home/madhumitha/vikram/current-projects/kibana/packages/kbn-pm/dist/index.js:24811:11)
          at handlePromise (/home/madhumitha/vikram/current-projects/kibana/packages/kbn-pm/dist/index.js:23746:26)
          at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

I have changed the permission to entire kibana directory using chmod and changed the ownership to root, particular user that I'm using for all the directories, but still no luck.

I have attached the complete log file. Could some one please help me this.

```
Arguments:
  /home/madhumitha/.nvm/versions/node/v10.21.0/bin/node /usr/local/bin/yarn install --non-interactive

PATH:
  /home/madhumitha/vikram/current-projects/kibana/node_modules/.bin:/home/madhumitha/vikram/current-projects/node_modules/.bin:/home/madhumitha/vikram/node_modules/.bin:/home/madhumitha/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/madhumitha/.nvm/versions/node/v10.21.0/bin:/tmp/yarn--1620729193430-0.35049529646394384:/home/madhumitha/vikram/current-projects/kibana/test/plugin_functional/plugins/kbn_tp_custom_visualizations/node_modules/.bin:/home/madhumitha/.config/yarn/link/node_modules/.bin:/home/madhumitha/vikram/current-projects/kibana/node_modules/.bin:/home/madhumitha/.yarn/bin:/home/madhumitha/.nvm/versions/node/v10.21.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/home/madhumitha/.nvm/versions/node/v10.21.0/lib/node_modules/npm/bin/node-gyp-bin:/home/madhumitha/.nvm/versions/node/v10.21.0/bin/node_modules/npm/bin/node-gyp-bin:/home/madhumitha/.nvm/versions/node/v10.21.0/bin:/home/madhumitha/anaconda3/condabin:/home/madhumitha/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Yarn version:
  1.22.10

Node version:
  10.21.0

Platform:
  linux x64

Trace:
  Error: EPERM: operation not permitted, chmod '/home/madhumitha/vikram/current-projects/kibana/test/plugin_functional/plugins/kbn_tp_custom_visualizations/node_modules/.bin/plugin-helpers'
```

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [May 12, 2021, 1:07pm UTC](https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681/2 "2021-05-12T13:07:37Z")

</div>

Hi @vikramnr

What branch did you try to bootstrap?

If it is a master, then today you should have Node v14.16.1. Try to update it.  
Yarn version is ok.

Give it another go by running `yarn kbn bootstrap`, you can fin the guide [here](https://www.elastic.co/guide/en/kibana/master/development-getting-started.html)

Regards, Dzmitry

---

<div class="post-metadata">

**Author:** ![vikramnr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramnr/32/66065_2.png) [@vikramnr](https://discuss.elastic.co/u/vikramnr)\
**Post date:** [May 20, 2021, 2:11pm UTC](https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681/3 "2021-05-20T14:11:03Z")

</div>

Thanks @Dzmitry

I managed to resolve the issue by using changing ownership of elasticsearch and kibana folders. I also changed my elastic & kibana versions from the latest one to the branch that I wanted and using the correct node versions for that version.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 17, 2021, 2:11pm UTC](https://discuss.elastic.co/t/kibana-local-set-up-permissions-issue/272681/4 "2021-06-17T14:11:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
