Skip to content

Commit c4cb8f4

Browse files
authored
Set correct permissions for /usr/share/logstash on pkg installs (#12782)
This PR sets correct ownership of /usr/share/logstash on DEB & RPM installs, following FHS guidelines. Closes: #12771
1 parent 7b85582 commit c4cb8f4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/centos/after-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
chown -R logstash:logstash /usr/share/logstash
1+
chown -R root:root /usr/share/logstash
22
chown -R logstash /var/log/logstash
33
chown logstash:logstash /var/lib/logstash
44
sed -i \

pkg/debian/after-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
chown -R logstash:logstash /usr/share/logstash
3+
chown -R root:root /usr/share/logstash
44
chown -R logstash /var/log/logstash
55
chown logstash:logstash /var/lib/logstash
66
chmod 755 /etc/logstash

pkg/ubuntu/after-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
chown -R logstash:logstash /usr/share/logstash
3+
chown -R root:root /usr/share/logstash
44
chown -R logstash /var/log/logstash
55
chown logstash:logstash /var/lib/logstash
66
sed -i \

0 commit comments

Comments
 (0)