From 04fe46407e0117c7aac2cc8e076430809fb54dcf Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sun, 31 Dec 2023 15:09:23 +0100 Subject: [PATCH] - file fixes --- mysql.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mysql.spec b/mysql.spec index ad3da8a..b2498d8 100644 --- a/mysql.spec +++ b/mysql.spec @@ -1082,13 +1082,17 @@ fi %{_datadir}/mysql/%{mysqlversion}/lang/charsets %files -n mysql-common +%defattr(644,root,root,755) %attr(751,root,root) %dir %{_sysconfdir}/mysql -%attr(751,root,root) %dir %{_libdir}/mysql -%attr(751,root,root) %dir %{_datadir}/mysql +%dir %{_libdir}/mysql +%dir %{_datadir}/mysql %attr(751,root,root) %dir /var/lib/mysql -%attr(751,root,root) %dir /var/lib/mysql-files +%attr(750,root,root) %dir /var/lib/mysql-files +%attr(750,root,root) %dir /var/log/mysql +%attr(750,root,root) %dir /var/log/archive/mysql %files dirs +%defattr(644,root,root,755) %attr(751,root,root) %dir %{_sysconfdir}/mysql/%{mysqlversion} # root:root is proper here for mysql.rpm while mysql:mysql is potential security hole %attr(751,root,root) %dir /var/lib/mysql/%{mysqlversion} -- 2.46.0