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
This commit is contained in:
Michal Sekletar 2015-01-07 13:17:01 +01:00
parent d16cba9b17
commit 455da36474

View File

@ -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 <msekleta@redhat.com> - 0.26-8
- change permissions of cron script to conform with Red Hat Security Guide (#1179721)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild