# Permissions on $ES\_HOME

**URL:** <https://discuss.elastic.co/t/permissions-on-es-home/265142>\
**Category:** Elasticsearch\
**Created:** [February 23, 2021, 1:59am UTC](https://discuss.elastic.co/t/permissions-on-es-home/265142 "2021-02-23T01:59:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zellamsee](https://avatars.discourse-cdn.com/v4/letter/z/5daacb/32.png) [@zellamsee](https://discuss.elastic.co/u/zellamsee)\
**Post date:** [February 23, 2021, 1:59am UTC](https://discuss.elastic.co/t/permissions-on-es-home/265142/1 "2021-02-23T01:59:34Z")

</div>

Hello,

We've installed the elasticsearch on linux via the `.tar.gz` archive. I was wondering what the permissions on this $ES\_HOME directory and it's subdirectories are suppose to be?

I have set up and `elasticsearch` user and group.

The permissions on the `config` subdirectory have `root` as the owner and `elasticsearch` as the group:

`drwxr-xr-x 3 root elasticsearch 4096 Feb 23 01:20 config`

I imaging the `logs` and `data` directories should be owned by the both `elasticsearch` user and group, e,g:

```auto
drwxr-xr-x 3 elasticsearch elasticsearch 4096 Feb 22 22:03 data
drwxr-xr-x 2 elasticsearch elasticsearch 4096 Feb 23 01:38 logs

```

Is this correct? Thoughts about the perms on the `bin`, `lib`, `modules`, and `plugins` subdirectories?

Thank you!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 23, 2021, 2:19am UTC](https://discuss.elastic.co/t/permissions-on-es-home/265142/2 "2021-02-23T02:19:07Z")

</div>

Welcome to our community! 😃

They look ok. Is there a reason you aren't using the DEB/RPM packages? They handle all of this for you.

---

<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:** [March 23, 2021, 2:19am UTC](https://discuss.elastic.co/t/permissions-on-es-home/265142/3 "2021-03-23T02:19:18Z")

</div>

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