Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 cisecurity.org

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.