This is an automated email from the git hooks/post-receive script.
mhonek pushed a commit to branch 389-ds-base-1.4.1
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.4.1 by this push:
new 10c85d6 Issue 50940 - Permissions of some shipped directories may change over
time
10c85d6 is described below
commit 10c85d687af0fd7760fbe9ac6d74829e8c358693
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 ede7b79..a927ac9 100644
--- a/rpm/389-ds-base.spec.in
+++ b/rpm/389-ds-base.spec.in
@@ -437,7 +437,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.