Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I'm setting up s serie of tomcat server. And i've read a security guide. They say that, it's a good idea to host tomcat's webapps folder on a different partition than the rest of tomcat files. I'm wondering if it really worst the effort. I'm running tomcat 7 on a ubuntu install, with no additional servicve on the machine.

So is it a good idea?

edit: the document is from

share|improve this question
up vote 0 down vote accepted

Yes, it is a good idea. Putting application files, especially upload and tmp folders, on separate partitions/logical volumes is a good practice. Any folder where disk usage can grow without warning should be a separate partition. The most critical folders to protect from filling up are root (/), and /tmp. If those two fill up, things go south, and you probably can't login. /var/log is a good one to put on it's own partition as well, so that you can keep your audit trails. ideally, /boot, /, /var, and /home should each be on a separate partition.

Whether or not it's worth the trouble is your call. Resizing partitions, when one is full, can be a real pain.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.