The .salt directory should be owned by the ssh login user

Since the ssh login user is used to drop the deployment file they need
write permissions, and since the login user can sudo they have rights to
manage the salt runs. When salt runs as root it will still have access
to said files.
We still need more validation around the integrety of the passed files
This commit is contained in:
Thomas S Hatch 2013-10-12 09:57:48 -06:00
parent c33049d438
commit aa4bb77ef2

View File

@ -79,7 +79,7 @@ SSH_SHIM = '''/bin/sh << 'EOF'
exit 1
fi
echo "{1}"
{{0}} install -m 1777 -d /tmp/.salt
install -m 1700 -d /tmp/.salt
echo "deploy"
exit 1
fi