From 19a59679e14c1eed83ec60a7015fbd2436a23f85 Mon Sep 17 00:00:00 2001 From: Michel Thebeau Date: Thu, 20 Sep 2018 12:52:33 -0400 Subject: [PATCH] update-motd: fix file permissions for /etc/motd.head Commit 685baaed added text file /etc/motd.head with execute permission. Partial-Bug: 1790863 Change-Id: I1104a5d7320f5fc32801c1129df589ce32fdf656 Signed-off-by: Michel Thebeau --- utilities/update-motd/centos/update-motd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/update-motd/centos/update-motd.spec b/utilities/update-motd/centos/update-motd.spec index bc91e5f30..11084ac00 100644 --- a/utilities/update-motd/centos/update-motd.spec +++ b/utilities/update-motd/centos/update-motd.spec @@ -36,7 +36,7 @@ install -d %{buildroot}%{_sysconfdir} install -d %{buildroot}%{_sysconfdir}/motd.d install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/motd.d/00-header install -m 755 %{SOURCE0} %{buildroot}%{_sysconfdir}/motd.d/99-footer -install -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/motd.head +install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/motd.head install -d %{buildroot}%{_sysconfdir}/cron.d install -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/cron.d/motd-update