From a62c720dc783b40377dcd34d4e53aa778ac1a84b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 1 Jun 2015 15:10:14 -0700 Subject: [PATCH] Makefile: install ceph-post-file keys with mode 600 Otherwise ssh (may) prompt for a password. Signed-off-by: Sage Weil (cherry picked from commit 106a1c3081d02446aa3d8e13865da0c3393bae90) --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index cba3af2b247ab..7b6960c5a452c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,9 +20,9 @@ EXTRA_DIST += \ # why is it so hard to make autotools to this? install-data-local: -mkdir -p $(DESTDIR)$(datadir)/ceph - -install -m 644 share/known_hosts_drop.ceph.com $(DESTDIR)$(datadir)/ceph/known_hosts_drop.ceph.com - -install -m 644 share/id_dsa_drop.ceph.com $(DESTDIR)$(datadir)/ceph/id_dsa_drop.ceph.com - -install -m 644 share/id_dsa_drop.ceph.com.pub $(DESTDIR)$(datadir)/ceph/id_dsa_drop.ceph.com.pub + -install -m 600 share/known_hosts_drop.ceph.com $(DESTDIR)$(datadir)/ceph/known_hosts_drop.ceph.com + -install -m 600 share/id_dsa_drop.ceph.com $(DESTDIR)$(datadir)/ceph/id_dsa_drop.ceph.com + -install -m 600 share/id_dsa_drop.ceph.com.pub $(DESTDIR)$(datadir)/ceph/id_dsa_drop.ceph.com.pub all-local: if WITH_DEBUG -- 2.39.5