This is an automated email from the git hooks/post-receive script.
mhonek pushed a commit to branch 389-ds-base-1.4.2
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.4.2 by this push:
new e1e4ef5 Issue 50940 - Permissions of some shipped directories may change over
time
e1e4ef5 is described below
commit e1e4ef52413e7d1c466f3fd8152602f01592e08e
Author: Matus Honek <mhonek(a)redhat.com>
AuthorDate: Wed Mar 4 13:17:13 2020 +0000
Issue 50940 - Permissions of some shipped directories may change over time
Bug Description:
Some utilities (e.g. installer, esp. setup-ds.pl) alter permissions of
some folders shipped by default. This is discoverable by running
`rpm -V 389-ds-base` after using these.
Fix Description:
Since Perl tools are deprecated and Python tools do not seem to change
most of those permissions, only fix /var/lock/dirsrv in SPEC file.
Relates:
https://pagure.io/389-ds-base/issue/50940
Author: Matus Honek <mhonek(a)redhat.com>
Review By: Simon (Thanks!)
(cherry picked from commit 26c77a4bb02672a63bb2cdeb68f951f3796af29c)
---
rpm/389-ds-base.spec.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in
index 34a1fa9..7ee29a3 100644
--- a/rpm/389-ds-base.spec.in
+++ b/rpm/389-ds-base.spec.in
@@ -431,7 +431,8 @@ popd
mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
-mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
+mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname} \
+ && chmod 770 $RPM_BUILD_ROOT/var/lock/%{pkgname}
# for systemd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/%{groupname}.wants
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.