August 23rd, 2012, 02:54 PM
I upgraded my application to the recent version, and after upgrade noticed that the some of the directories that are created after upgrade have root permission instead of tomcat. My tomcat is running on linux. how to set the permissions to tomcat and not as root.
August 24th, 2012, 11:50 AM
You can change the ownership of the directory and files by using the chown command.
chown owner:group directory
Note the use of the 'R' flag - this means that it'll recursively change the ownership of the files under the /usr/local/tomcat directory
chown -R tomcat:tomcat /usr/local/tomcat
The No Ma'am commandments:
1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
2.) It is wrong to be French
3.) It is O.K. to put all bad people in a giant meat grinder
4.) Lawyers, see rule 3
5.) It is O.K. to drive a gas guzzler if it helps you get babes
6.) Everyone should car pool but me
7.) Bring back the word 'stewardesses'
8.) Synchronized swimming is not a sport
9.) Mud wrestling is a sport