Fixed server permissions in deployment script