tomcat directory hierarchy permission
Hi,
I installed CentOS 6.5 and include both java devel and Tomcat packages during the installation. I then tried to create the directory hierarchy under /var/lib/tomcat6/webapps to test tomcat. I did the following:
cd /var/lib/tomcat6/webapps
mkdir ROOT
mkdir : cannot create direcotry 'ROOT' : permission denied
cd ..
ls -l
drwxrwxr-x. 2 root tomcat 4096 Nov 22 05:58 webapps
I'm using my account, mike, not the root to learn servelt. How can I creat ROOT/WEB-INF/classes under webapps and be able to access it as non-root? Should I change the group of the webapps directory?
|