Article 6FFN4 tomcat user permissions problem on Linux Ubuntu 22.04

tomcat user permissions problem on Linux Ubuntu 22.04

by
Spin123
from LinuxQuestions.org on (#6FFN4)
Hi I'm new to working on server. I'm ultimately trying to deploy a WAR file in a Tomcat Server. I'm stuck on tomcat user permissions.

So far I've done this:

sudo groupadd tomcat
sudo useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat
sudo chown -R tomcat: /opt/tomcat
sudo sh -c 'chmod +i /opt/tomcat/bin/* .sh'

This last command is showing. chmod: invalid mode: i+*'

Any help would be much appreciated.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments