tweak installer

fixes #389
This commit is contained in:
t3chn0m4g3 2019-12-27 19:45:38 +00:00
parent 1442a257e5
commit 0ed60329b8

View file

@ -813,11 +813,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