From a5628503d24b89af1f1a770ddc0208d445060e57 Mon Sep 17 00:00:00 2001 From: cappetta Date: Fri, 23 Aug 2019 01:03:52 -0400 Subject: [PATCH] moving chown of tsec:tsec and fixing permission error w/ installer --- iso/installer/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index 0a39dda1..4d4761c3 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -686,6 +686,7 @@ echo "UseRoaming no" | tee -a /etc/ssh/ssh_config # Installing elasticdump, yq fuBANNER "Installing pkgs" +chmod 755 /root/tpot/iso/installer npm install https://github.com/taskrabbit/elasticsearch-dump -g pip install --upgrade pip hash -r @@ -816,11 +817,11 @@ chmod 770 -R /data if [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ]; then usermod -a -G tpot tsec + chown tsec:tsec -R /home/tsec/.ssh else usermod -a -G tpot $(who am i | awk '{ print $1 }') fi chown tpot:tpot -R /data -chown tsec:tsec -R /home/tsec/.ssh chmod 644 -R /data/nginx/conf chmod 644 -R /data/nginx/cert