Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I install Tomcat on Linux without getting “permission denied” errors?

0
Posted

How do I install Tomcat on Linux without getting “permission denied” errors?

0

Location: http://www.jguru.com/faq/view.jsp?EID=492863 Created: Sep 7, 2001 Author: Luigi Viggiano (http://www.jguru.com/guru/viewbio.jsp?EID=101985) Question originally posed by Sedick Fakir (http://www.jguru.com/guru/viewbio.jsp?EID=489012 This can happen if the user that you are using to start tomcat does not have permission to read/write some files (example logs). [Look into the Unix commands chmod and chown — a basic Unix admin class or tutorial would be a great investment at this stage! -Alex] I can tell you a common solution of installing servers programs with linux: It’s common to create a user (example “tomcat”) and install the software using this user. So, the “tomcat” user will have permission to read/write all the tomcat_home directory (also logs dir, lib etc…), after installing, you’ll need to use the “tomcat” user to start the service. An alternative could be to use the root account to install, and run tomcat, but it can compromise security of the system. [See Can Tomc

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123