News for hackers. Stuff that matters.
Re:Kids, this is story of How I Met... my VPS hacked by lis on Monday January 20, 2014 @03:32PM (#7091581)
I agree that this would be the best option, but what is the point of remote deployment APIs then? Eg my CI deploys war files on a tomcat using tomcats remote deployment API, so tomcat must be able to write in its webapp directory. Would you suggest to deploy wars always via scp and a restart of the tomcat instance instead?
Re:Kids, this is story of How I Met... my VPS hacked by drdaeman on Monday January 20, 2014 @05:19PM (#7092099)
Sorry, I don't know anything about Tomcat. Maybe you could separate its deployment API and run it as a separate worker process that has elevated privileges? I really have no idea, sorry.

Guess there are always exceptional cases to anything.