201dc2716b
- Update to 4.0.0 - Rename source prelude-lml.run to prelude-lml-tmpfiles.conf - Clean prelude-lml.service - Add patchs: - prelude-lml-fix_check.patch: Fix make check - prelude-lml-fix_etc_perms.patch: Fix Prelude LML dirs permissions OBS-URL: https://build.opensuse.org/request/show/533322 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/prelude-lml?expand=0&rev=12
46 lines
2.8 KiB
Diff
46 lines
2.8 KiB
Diff
From: Thomas Andrejak <thomas.andrejak@gmail.com>
|
|
Date: 2017-10-04 07:00:00 +0100
|
|
References: http://prelude-siem.org/issues/870
|
|
Upstream: submitted
|
|
Subject: Fix Prelude LML dirs permissions
|
|
|
|
--- ./Makefile.in 2016-09-15 09:03:01.116000884 +0200
|
|
+++ ./Makefile.in 2017-01-26 07:38:35.217447516 +0100
|
|
@@ -1762,9 +1762,9 @@
|
|
|
|
|
|
install-data-local:
|
|
- $(INSTALL) -m 700 -d $(DESTDIR)$(configdir);
|
|
- $(INSTALL) -m 700 -d $(DESTDIR)$(lml_run_dir);
|
|
- $(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir)
|
|
+ $(INSTALL) -m 755 -d $(DESTDIR)$(configdir);
|
|
+ $(INSTALL) -m 755 -d $(DESTDIR)$(lml_run_dir);
|
|
+ $(INSTALL) -m 755 -d $(DESTDIR)$(metadata_dir)
|
|
@if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then \
|
|
echo "********************************************************************************"; \
|
|
echo; \
|
|
@@ -1772,9 +1772,9 @@
|
|
echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist"; \
|
|
echo; \
|
|
echo "********************************************************************************"; \
|
|
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \
|
|
+ $(INSTALL) -m 644 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \
|
|
else \
|
|
- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \
|
|
+ $(INSTALL) -m 644 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \
|
|
fi
|
|
@if test -f $(DESTDIR)$(configdir)/plugins.rules; then \
|
|
echo "********************************************************************************"; \
|
|
@@ -1783,9 +1783,9 @@
|
|
echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist"; \
|
|
echo; \
|
|
echo "********************************************************************************"; \
|
|
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \
|
|
+ $(INSTALL) -m 644 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \
|
|
else \
|
|
- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \
|
|
+ $(INSTALL) -m 644 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \
|
|
fi
|
|
|
|
uninstall-local:
|