# Exiting: Could not start registrar: Error loading state: open /filebeat/data/registry: permission denied

**URL:** https://discuss.elastic.co/t/exiting-could-not-start-registrar-error-loading-state-open-filebeat-data-registry-permission-denied/153349
**Category:** Beats
**Tags:** filebeat
**Created:** [October 22, 2018, 8:43am UTC](https://discuss.elastic.co/t/exiting-could-not-start-registrar-error-loading-state-open-filebeat-data-registry-permission-denied/153349 "2018-10-22T08:43:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [October 22, 2018, 2:57pm UTC](https://discuss.elastic.co/t/exiting-could-not-start-registrar-error-loading-state-open-filebeat-data-registry-permission-denied/153349/2 "2018-10-22T14:57:40Z")

</div>

The registry file must belong to the filebeat user. The /filebeat/data filter is owned by filebeat.

Which user do you use to run filebeat?

Please share the output of `$ ls -la /filebeat/data` (run in Terminal).

---

_[View the full topic](https://discuss.elastic.co/t/exiting-could-not-start-registrar-error-loading-state-open-filebeat-data-registry-permission-denied/153349)._
