Fix cloudfoundry deployment permission