# Elasticsearch, Permission Denied during configuration

**URL:** <https://discuss.elastic.co/t/elasticsearch-permission-denied-during-configuration/44998>\
**Category:** Elasticsearch\
**Created:** [March 21, 2016, 2:03pm UTC](https://discuss.elastic.co/t/elasticsearch-permission-denied-during-configuration/44998 "2016-03-21T14:03:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FernRaff](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fernraff/32/8577_2.png) [@FernRaff](https://discuss.elastic.co/u/FernRaff)\
**Post date:** [March 21, 2016, 2:03pm UTC](https://discuss.elastic.co/t/elasticsearch-permission-denied-during-configuration/44998/1 "2016-03-21T14:03:13Z")

</div>

Hi People!

Im new to both Linux & ELK stack. So this might be a simple matter.

During configuration of Elasticssearch-2.2.0 I type the command "./bin/elasticsearch" under an account i created (ELKuser) but i get back this:

log4j: ERROR setFile (null,true) call failed.  
/home/elasticsearch-2.2.0/logs/elasticsearch.log (Permission denied)

Has anyone seen this before? If so what do you go about fixing this?

---

<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:** [March 21, 2016, 8:21pm UTC](https://discuss.elastic.co/t/elasticsearch-permission-denied-during-configuration/44998/2 "2016-03-21T20:21:54Z")

</div>

> [@FernRaff](#):
>
> /home/elasticsearch-2.2.0/logs/elasticsearch.log (Permission denied)

That's an odd path to extract ES to.  
What user are you trying to run this as and does it have the correct permissions?

---

<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:** [July 5, 2017, 11:06pm UTC](https://discuss.elastic.co/t/elasticsearch-permission-denied-during-configuration/44998/3 "2017-07-05T23:06:28Z")

</div>


