From b27fab57f109d886731e03ea4b5365bd2070d7d3b508a06c139fba7010e50b4a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 5 Jun 2020 15:22:58 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=112 --- man.changes | 7 ++++++- man.spec | 6 +++--- mandb.service | 2 ++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/man.changes b/man.changes index d211dc3..068e45d 100644 --- a/man.changes +++ b/man.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 5 15:21:06 UTC 2020 - Dr. Werner Fink + +- Switch to user:group man:man within mandb.service (boo#1172575) + ------------------------------------------------------------------- Sun May 17 17:37:58 UTC 2020 - Andreas Stieger @@ -17,7 +22,7 @@ Wed Nov 6 08:48:22 UTC 2019 - Dr. Werner Fink ------------------------------------------------------------------- Sun Nov 3 11:37:28 UTC 2019 - Dr. Werner Fink -- Use %{_prefix}/lib for tmpfiles.d directory to avoud to get this +- Use %{_prefix}/lib for tmpfiles.d directory to avoid to get this nonexecutable location below new location of %{_libexecdir} ------------------------------------------------------------------- diff --git a/man.spec b/man.spec index 734a427..8d6f0a5 100644 --- a/man.spec +++ b/man.spec @@ -350,11 +350,11 @@ fi %attr(0755,root,root) %{_libexecdir}/man-db/man %attr(0755,root,root) %{_libexecdir}/man-db/whatis %attr(0755,root,root) %{_libexecdir}/man-db/mandb -%attr(0755,man,man) %{_libexecdir}/man-db/manconv -%attr(0755,man,man) %{_libexecdir}/man-db/globbing +%attr(0755,root,root) %{_libexecdir}/man-db/manconv +%attr(0755,root,root) %{_libexecdir}/man-db/globbing %attr(0755,root,root) %{_libexecdir}/man-db/wrapper %if 0%{?suse_version} >= 1500 -%attr(0744,man,man) %{_libexecdir}/man-db/do_mandb +%attr(0744,root,root) %{_libexecdir}/man-db/do_mandb %endif %{_sbindir}/accessdb %{_libdir}/libman*.so diff --git a/mandb.service b/mandb.service index ac4300b..ab00eb2 100644 --- a/mandb.service +++ b/mandb.service @@ -4,6 +4,8 @@ Documentation=man:mandb(8) man:catman(8) ConditionACPower=true [Service] +User=man +Group=man Type=oneshot Nice=5 IOSchedulingClass=idle