]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Makefile: install ceph-post-file keys with mode 600 5037/head
authorSage Weil <sage@redhat.com>
Mon, 1 Jun 2015 22:10:14 +0000 (15:10 -0700)
committerNathan Cutler <ncutler@suse.com>
Mon, 22 Jun 2015 11:22:25 +0000 (13:22 +0200)
Otherwise ssh (may) prompt for a password.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 106a1c3081d02446aa3d8e13865da0c3393bae90)

Makefile.am

index cba3af2b247ab329808ccc9ba53e634e7f1ddf81..7b6960c5a452c086a93b59317bb46814bc89e5fc 100644 (file)
@@ -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