java - Ubuntu Tomcat showing different user and group for war and extracted context -
I am deploying a war file in Amazon EC2. I am logged in as user Ubuntu and deploying war files as the same file. After deploying the war, I am starting the service "Biscuit" from Root. Now the extracted reference is visible to users and groups as tomcat7
Can any body fix this to me?
I want to fix this because I want to use / home / ubuntu, but as the user is showing Tometat, I am going to / home / ubuntu I am getting a permission error when trying to write a file
For this solution, I think that the other user is only going to the folder example: or if you have access to / home / ubuntu
# other user allowed to read / home / ubuntu only Let's recursively chmod -R o + r / home / ubuntu
/etc/init.d/tomcat , then
Find TOMCAT_USER and change it to your favorite
Ubuntu user name
Comments
Post a Comment