ppisar pushed to perl-mogilefs-server (master). "Restrict access to mogilefsd.conf because it can contain password"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Oct 29 14:05:40 UTC 2015


From be0983bb97221e370aec50ff1f63c35e7f2ed9b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 29 Oct 2015 15:05:06 +0100
Subject: Restrict access to mogilefsd.conf because it can contain password

---
 perl-mogilefs-server.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/perl-mogilefs-server.spec b/perl-mogilefs-server.spec
index 7db47cb..9fc82c7 100644
--- a/perl-mogilefs-server.spec
+++ b/perl-mogilefs-server.spec
@@ -276,7 +276,7 @@ exit 0
 %exclude %{perl_vendorlib}/MogileFS/Store/*
 %dir %{_sysconfdir}/mogilefs
 %config(noreplace) %{_sysconfdir}/mogilefs/mogilefs.conf
-%config(noreplace) %{_sysconfdir}/mogilefs/mogilefsd.conf
+%config(noreplace) %attr(0640,root,mogilefsd) %{_sysconfdir}/mogilefs/mogilefsd.conf
 %{_unitdir}/mogilefsd.service
 
 %files -n mogilefsd-storage-mysql
@@ -321,6 +321,7 @@ exit 0
 - Modernize specification file
 - Migrate from System V init scripts to systemd
 - Package PostgreSQL and SQLite mogilefsd storages
+- Restrict access to mogilefsd.conf because it can contain password
 
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.36-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-mogilefs-server.git/commit/?h=master&id=be0983bb97221e370aec50ff1f63c35e7f2ed9b3


More information about the perl-devel mailing list