# Logstash 6.4.0 initial permission issue

**URL:** <https://discuss.elastic.co/t/logstash-6-4-0-initial-permission-issue/148015>\
**Category:** Logstash\
**Created:** [September 10, 2018, 7:56pm UTC](https://discuss.elastic.co/t/logstash-6-4-0-initial-permission-issue/148015 "2018-09-10T19:56:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![derekmizak](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@derekmizak](https://discuss.elastic.co/u/derekmizak)\
**Post date:** [September 10, 2018, 7:56pm UTC](https://discuss.elastic.co/t/logstash-6-4-0-initial-permission-issue/148015/1 "2018-09-10T19:56:17Z")

</div>

On Ubuntu 16.04 LTS after default installation of Logstash - there seams to be some permission issues. for e.g

dmadmin@es01:/usr/share/logstash/bin$ ls -l /var/lib/logstash/  
total 12  
drwxr-xr-x 2 root root 4096 Sep 10 19:12 dead\_letter\_queue  
drwxr-xr-x 2 root root 4096 Sep 10 19:12 queue  
-rw-r--r-- 1 root root 36 Sep 10 19:12 uuid

Above files are owned by root and not Logstash

As result you get an error when starting the service:  
[2018-09-10T19:35:38,554][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<ArgumentError: Path "/var/lib/logstash/queue" must be a writable directory.

So I have changed ownership to Logstash and it got working.

However, after that I got another error:

[2018-09-10T19:46:53,936][ERROR][logstash.config.sourceloader] Could not fetch all the sources {:exception=\>Errno::EACCES, :message=\>"Permission denied - /etc/logstash/startup.options",

Changed ownership and it is working now.

---

<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:** [October 8, 2018, 7:56pm UTC](https://discuss.elastic.co/t/logstash-6-4-0-initial-permission-issue/148015/2 "2018-10-08T19:56:21Z")

</div>

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