# Problem install logstash-7.13.2-x86

**URL:** <https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249>\
**Category:** Logstash\
**Created:** [June 28, 2021, 3:04pm UTC](https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249 "2021-06-28T15:04:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mylogstash](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mylogstash](https://discuss.elastic.co/u/mylogstash)\
**Post date:** [June 28, 2021, 3:04pm UTC](https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249/1 "2021-06-28T15:04:44Z")

</div>

On Centos 7.9  
During upgrade of logstash-7.13.2-x86 the ownership /usr/share/logstash changes from logstash:logstash to root:root.  
Why does the installation changes the owner of /usr/share/logstash ?

---

<div class="post-metadata">

**Author:** ![grumo35](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grumo35/32/59451_2.png) [@grumo35](https://discuss.elastic.co/u/grumo35)\
**Post date:** [June 28, 2021, 3:43pm UTC](https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249/2 "2021-06-28T15:43:12Z")

</div>

Depends on how you installed the package ?

Did you do it from root or normal user via sudo ?

Either way the update should not break any path permissions, certainly not with root:root perms 🤔

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 28, 2021, 4:22pm UTC](https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249/3 "2021-06-28T16:22:53Z")

</div>

> [@mylogstash](#):
>
> Why does the installation changes the owner of /usr/share/logstash ?

If you are using rpm packages (e.g. via yum) then setting file ownership is part of the core functionality and cannot be disabled.

If you grant logstash permissions using setfacl instead of group or owner then the update should not affect them.

---

<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 26, 2021, 4:23pm UTC](https://discuss.elastic.co/t/problem-install-logstash-7-13-2-x86/277249/4 "2021-07-26T16:23:43Z")

</div>

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