I have a tomcat 8 installation on an ubuntu 14 server.

I want to give write access to the /opt/tomcat/webapps folder to a few users so they can scp .war files directly there from their local machines.

Is there any best practice for this?



if you're working with developers, setup a Jenkins to build their source codes, and setup jenkins to handle the deployment.

Jenkins can work with shell so you can use scp, so you can control permission of jenkins without granting any permission for developers to server.

Refer to https://stackoverflow.com/questions/9277223/jenkins-auto-deploy-tomcat-7

| improve this answer | |
  • Ah yeah this is for non-developers. – user3203425 Dec 1 '15 at 12:44
  • The same, just dont let them touch your server – cuongnv23 Dec 1 '15 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.