[packages/mysql] dirs must be marked with %dir attribute; refs 416b5906

glen glen at pld-linux.org
Mon Dec 12 07:26:02 CET 2016


commit dfb3f99dbf2bb3a74a23af1ef2afb47910b4d1c6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 12 08:24:04 2016 +0200

    dirs must be marked with %dir attribute; refs 416b5906

 mysql.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mysql.spec b/mysql.spec
index 74f607b..c8870ce 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -934,7 +934,7 @@ done
 # root:root is proper here for mysql.rpm while mysql:mysql is potential security hole
 %attr(751,root,root) /var/lib/mysql
 # https://dev.mysql.com/doc/refman/5.7/en/server-options.html#option_mysqld_secure-file-priv
-%attr(770,mysql,mysql) /var/lib/mysql-files
+%attr(770,mysql,mysql) %dir /var/lib/mysql-files
 %attr(750,mysql,mysql) %dir /var/log/mysql
 %attr(750,mysql,mysql) %dir /var/log/archive/mysql
 %attr(640,mysql,mysql) %ghost /var/log/mysql/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/dfb3f99dbf2bb3a74a23af1ef2afb47910b4d1c6



More information about the pld-cvs-commit mailing list