From 455da36474929c0722eee89fe1a829be55d477cc Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Wed, 7 Jan 2015 13:17:01 +0100 Subject: [PATCH] Change permissions of cron script to conform with Red Hat Security Guide "Crontab files must have mode 0600 or less permissive, and files in cron script directories must have mode 0700 or less permissive." Resolves: #1179721 --- mlocate.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mlocate.spec b/mlocate.spec index 0659dc8..5f1aea6 100644 --- a/mlocate.spec +++ b/mlocate.spec @@ -3,7 +3,7 @@ Summary: An utility for finding files by name Name: mlocate Version: 0.26 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 URL: https://fedorahosted.org/mlocate/ Group: Applications/System @@ -53,7 +53,7 @@ fi %files -f mlocate.lang %doc AUTHORS COPYING NEWS README -%config(noreplace) /etc/cron.daily/mlocate +%attr(0700,-,-) %config(noreplace) /etc/cron.daily/mlocate %config(noreplace) %{_sysconfdir}/updatedb.conf %attr(2711,root,slocate) %{_bindir}/locate %{_bindir}/updatedb @@ -62,6 +62,9 @@ fi %ghost %{_localstatedir}/lib/mlocate/mlocate.db %changelog +* Wed Jan 7 2015 Michal Sekletar - 0.26-8 +- change permissions of cron script to conform with Red Hat Security Guide (#1179721) + * Sun Aug 17 2014 Fedora Release Engineering - 0.26-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild