summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-07-24 11:58:10 -0700
committerIvan Kohler <ivan@freeside.biz>2013-07-24 11:58:10 -0700
commit315e05ac3e63dbd51a162df27cff1233935d5cd3 (patch)
tree195be2f1b0ad2ed5f5bc4b51b1b2fbf59c2f48e7 /Makefile
parentaa23b425af032952095317d401686b7383d9f6a6 (diff)
directory needs to be readable/searchable for login to find the authorized_keys file and work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dd7adb0bd..35a3486ac 100644
--- a/Makefile
+++ b/Makefile
@@ -287,7 +287,7 @@ install-selfservice:
ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; perl Makefile.PL && make" ;\
ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\
scp ~freeside/.ssh/id_dsa.pub ${SELFSERVICE_INSTALL_USER}@$$MACHINE:. ;\
- ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -d -o freeside -m 600 ~freeside/.ssh/; sudo install -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\
+ ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo ${SELFSERVICE_INSTALL_USERADD} freeside; sudo install -d -o freeside -m 755 ~freeside/.ssh/; sudo install -o freeside -m 600 ./id_dsa.pub ~freeside/.ssh/authorized_keys" ;\
ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "sudo install -o freeside -d /usr/local/freeside" ;\
done