[cpp-sp] 02/02: Fix config file mode.

Scott Cantor cantor.2 at osu.edu
Thu May 3 16:50:06 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=9743133be4afbfece33a9b44e084b12f6600cffc

commit 9743133be4afbfece33a9b44e084b12f6600cffc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu May 3 16:50:00 2018 -0400

    Fix config file mode.
---
 shibboleth.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibboleth.spec.in b/shibboleth.spec.in
index ba6b0b6..01aa2a3 100644
--- a/shibboleth.spec.in
+++ b/shibboleth.spec.in
@@ -288,7 +288,7 @@ fi
 # Note we have to copy from the .dist version because of RPM exclusion below.
 if [ ! -f %{_sysconfdir}/shibboleth/shibboleth3.xml ] ; then
 	if [ ! -f %{_sysconfdir}/shibboleth/shibboleth2.xml ] ; then
-		install $RPM_BUILD_ROOT%{_sysconfdir}/shibboleth/shibboleth3.xml.dist %{_sysconfdir}/shibboleth/shibboleth3.xml
+		install -m 0644 $RPM_BUILD_ROOT%{_sysconfdir}/shibboleth/shibboleth3.xml.dist %{_sysconfdir}/shibboleth/shibboleth3.xml
 		cd %{_sysconfdir}/shibboleth
 		/bin/sh ./keygen.sh -b -n sp-signing -u %{runuser} -g %{runuser}
 		/bin/sh ./keygen.sh -b -n sp-encrypt -u %{runuser} -g %{runuser}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list