set owner of man cache to root instead of man
This commit is contained in:
parent
e2191be5ae
commit
b7621a9cc1
19
man-db-2.7.6.1-change-owner-of-man-cache.patch
Normal file
19
man-db-2.7.6.1-change-owner-of-man-cache.patch
Normal file
@ -0,0 +1,19 @@
|
||||
From b872ee2e8ba470ed869db7dcf37eeb96563a62fa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
|
||||
Date: Thu, 19 Jan 2017 14:06:30 +0100
|
||||
Subject: [PATCH] Set owner of man cache to root instead of man
|
||||
|
||||
---
|
||||
init/systemd/man-db.conf | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/init/systemd/man-db.conf b/init/systemd/man-db.conf
|
||||
index 1eb40ce..21936d5 100644
|
||||
--- a/init/systemd/man-db.conf
|
||||
+++ b/init/systemd/man-db.conf
|
||||
@@ -1 +1 @@
|
||||
-d /var/cache/man 0755 man man 1w
|
||||
+d /var/cache/man 0755 root man 1w
|
||||
--
|
||||
2.7.4
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Tools for searching and reading man pages
|
||||
Name: man-db
|
||||
Version: 2.7.6.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# GPLv2+ .. man-db
|
||||
# GPLv3+ .. gnulib
|
||||
License: GPLv2+ and GPLv3+
|
||||
@ -14,9 +14,10 @@ URL: http://www.nongnu.org/man-db/
|
||||
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
|
||||
Source1: man-db.crondaily
|
||||
Source2: man-db.sysconfig
|
||||
Patch0: man-db-2.7.6.1-change-owner-of-man-cache.patch
|
||||
|
||||
# http://lists.nongnu.org/archive/html/man-db-devel/2017-01/msg00013.html
|
||||
Patch0: man-db-2.7.6.1-fix-override-dir-handling.patch
|
||||
Patch1: man-db-2.7.6.1-fix-override-dir-handling.patch
|
||||
|
||||
Obsoletes: man < 2.0
|
||||
Provides: man = %{version}
|
||||
@ -162,6 +163,9 @@ MAN_NO_LOCALE_WARNING=1 /usr/bin/mandb -q
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/man-db
|
||||
|
||||
%changelog
|
||||
* Thu Jan 19 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-2
|
||||
- set owner of man cache to root instead of man
|
||||
|
||||
* Thu Jan 19 2017 Nikola Forró <nforro@redhat.com> - 2.7.6.1-1
|
||||
- update to 2.7.6.1
|
||||
resolves #1403618
|
||||
|
Loading…
Reference in New Issue
Block a user