# Filebeat 6.4.0 .deb creates /lib/lsystemd/system/filebeat.service 0755

**URL:** <https://discuss.elastic.co/t/filebeat-6-4-0-deb-creates-lib-lsystemd-system-filebeat-service-0755/146752>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 30, 2018, 5:16pm UTC](https://discuss.elastic.co/t/filebeat-6-4-0-deb-creates-lib-lsystemd-system-filebeat-service-0755/146752 "2018-08-30T17:16:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![reshippie](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@reshippie](https://discuss.elastic.co/u/reshippie)\
**Post date:** [August 30, 2018, 5:16pm UTC](https://discuss.elastic.co/t/filebeat-6-4-0-deb-creates-lib-lsystemd-system-filebeat-service-0755/146752/1 "2018-08-30T17:16:22Z")

</div>

I've been seeing the following syslog message across all of our hosts running Filebeat since we upgraded to 6.4.0:

> Aug 30 16:52:59 elk-00 systemd[1]: Configuration file /lib/systemd/system/filebeat.service is marked executable. Please remove executable permission bits. Proceeding anyway.

I have removed and reinstalled Filebeat and the file is still executable, so it is not related to an in place upgrade. This behavior exists on both Debian 8.11 and 9.5.  
This should be easy to fix by updating the rules for creating the package, but I couldn't find it in Github to create a patch myself.

To recreate:  
apt-get install filebeat  
ls -l /var/lib/systemd/system/filebeat.service

---

<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:** [August 31, 2018, 4:49pm UTC](https://discuss.elastic.co/t/filebeat-6-4-0-deb-creates-lib-lsystemd-system-filebeat-service-0755/146752/2 "2018-08-31T16:49:55Z")

</div>

Sounds like a bug in the packager. Can you please report this is a bug to: [https://github.com/elastic/beats/issues](https://github.com/elastic/beats/issues)

You can use chmod to remove the executable 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:** [September 28, 2018, 4:49pm UTC](https://discuss.elastic.co/t/filebeat-6-4-0-deb-creates-lib-lsystemd-system-filebeat-service-0755/146752/3 "2018-09-28T16:49:57Z")

</div>

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