[MySQL-zrm] Restrict permissions on mysql-zrm.conf
Orion Poplawski
orion at fedoraproject.org
Tue Nov 22 20:53:41 UTC 2011
commit aa3721cbfab82ff3cc389357edd08a7d7001533c
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Tue Nov 22 13:53:38 2011 -0700
Restrict permissions on mysql-zrm.conf
MySQL-zrm.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/MySQL-zrm.spec b/MySQL-zrm.spec
index 1381a23..1cf07fe 100644
--- a/MySQL-zrm.spec
+++ b/MySQL-zrm.spec
@@ -1,6 +1,6 @@
Name: MySQL-zrm
Version: 2.2.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: MySQL backup manager
Group: Applications/System
@@ -72,6 +72,9 @@ cp -rp etc/mysql-zrm %{buildroot}%{_sysconfdir}/
cp -rp etc/logrotate.d/mysql-zrm %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
cp -p %SOURCE1 %SOURCE2 %{buildroot}%{_unitdir}
+# This will store passwords, restrict permissions
+chmod 640 %{buildroot}%{_sysconfdir}/mysql-zrm/mysql-zrm.conf
+
%clean
rm -rf %{buildroot}
@@ -116,6 +119,9 @@ fi
%changelog
+* Tue Nov 22 2011 Orion Poplawski <orion at cora.nwra.com> - 2.2.0-6
+- Restrict permissions on mysql-zrm.conf
+
* Wed Nov 9 2011 Orion Poplawski <orion at cora.nwra.com> - 2.2.0-5
- Add quiet patch to silence output with --quiet
- Move to systemd socket activation from xinetd (bug 737258)
More information about the scm-commits
mailing list