summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorTerje Røsten <terje.rosten@oracle.com>2015-02-26 18:58:36 +0100
committerBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2015-03-01 18:22:28 +0100
commitffa7ae1c6ec228a90e666c2b303f4441009bd6a4 (patch)
treeae1a27949c74dddf0033ea3d207b59576d9b09a7 /packaging
parent96348ab821d6e504fc56f0771af974d90d4d70d8 (diff)
downloadmariadb-git-ffa7ae1c6ec228a90e666c2b303f4441009bd6a4.tar.gz
BUG#19811871 VERSION NUMBR NOT SHOWN IN LOG WHEN [RE]STARTING 5.6.21 SERVICE WITH SLES11 REPO
Log file directory had too strict access rights, server not able to write to log file. Signed-off-by: Terje Røsten <terje.rosten@oracle.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm-sles/mysql.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/rpm-sles/mysql.spec.in b/packaging/rpm-sles/mysql.spec.in
index 883763412f2..23c076332b0 100644
--- a/packaging/rpm-sles/mysql.spec.in
+++ b/packaging/rpm-sles/mysql.spec.in
@@ -420,7 +420,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir}
# Ensure that needed directories exists
install -d -m 0755 %{buildroot}/var/lib/mysql
install -d -m 0755 %{buildroot}/var/run/mysql
-install -d -m 0660 %{buildroot}/var/log/mysql
+install -d -m 0750 %{buildroot}/var/log/mysql
# Install all binaries
cd $MBD/release
@@ -632,7 +632,7 @@ fi
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
%dir %attr(755, mysql, mysql) /var/lib/mysql
%dir %attr(755, mysql, mysql) /var/run/mysql
-%dir %attr(660, mysql, mysql) /var/log/mysql
+%dir %attr(750, mysql, mysql) /var/log/mysql
%files common
%defattr(-, root, root, -)