# Filebeat Logs are created with 600 mode

**URL:** <https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 9, 2017, 11:47am UTC](https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839 "2017-06-09T11:47:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christophe\_Journel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophe_journel/32/12534_2.png) [@Christophe\_Journel](https://discuss.elastic.co/u/Christophe_Journel)\
**Post date:** [June 9, 2017, 11:47am UTC](https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839/1 "2017-06-09T11:47:55Z")

</div>

Hello,

WIth then version 5.3 of filebeat , the log file created has a 600 mode :

```
[user@server ~]$ ll /var/log/filebeat/filebeat
-rw------- 1 root root 1404586 Jun 9 13:43 /var/log/filebeat/filebeat 

```

However on my oldest server, i only have filebeat 5.2 and logfile mode is 644

```
[user@otherserver ~]$ ll /var/log/filebeat/filebeat
-rw-r--r-- 1 root root 3806198 Jun 9 13:45 /var/log/filebeat/filebeat

```

I didn't find any useful information in the documentation on how to change this ? I would like the logfile mode to be 644 by default.

Do you have any idea ?

Thx

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [June 12, 2017, 9:15am UTC](https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839/2 "2017-06-12T09:15:55Z")

</div>

This change was merged some days ago and will make it to next release 🙂

> <https://github.com/elastic/beats/pull/4428/files>

---

<div class="post-metadata">

**Author:** ![Christophe\_Journel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophe_journel/32/12534_2.png) [@Christophe\_Journel](https://discuss.elastic.co/u/Christophe_Journel)\
**Post date:** [June 13, 2017, 1:00pm UTC](https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839/3 "2017-06-13T13:00:34Z")

</div>

> [@exekias](#):
>
> d will make it to nex

Thanks for your quick answer ! I just have to wait 🙂

---

<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 11, 2017, 1:00pm UTC](https://discuss.elastic.co/t/filebeat-logs-are-created-with-600-mode/88839/4 "2017-07-11T13:00:39Z")

</div>

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