Bug 32282 - Uninstaller should not remove webapps/root
Uninstaller should not remove webapps/root
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Native:Packaging
5.5.4
PC Windows XP
: P2 major (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2004-11-17 20:53 UTC by Gili
Modified: 2004-11-22 07:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gili 2004-11-17 20:53:08 UTC
Tomcat just played a nice trick on me and wired out my webapps/root directory
full of years' worth of digital photography with no recent backups. I am not amused.

I was simply trying to upgrade from Tomcat 5.5.1 to 5.5.4 so I uninstalled
5.5.1, it prompted me whether I wished to remove the entire directory, I hit NO
because I knew I had made modifications since installation but I guess it
*assumed* webapps/root was unmodified and wiped it out.

Guys, you should really fix this sort of thing. Either do a simple check to see
whether webapps/root has been modified or don't delete anything inside webapps
to begin with. Please! I'm setting this issue to a higher priority because it
involved data loss.
Comment 1 Yoav Shapira 2004-11-22 16:05:45 UTC
Modification done for Tomcat 5.0.30 and 5.5.5, because other newbies are likely 
to use the ROOT directory in the same manner.  But please do start taking 
regular backups, and do consider using a real webapp instead of the ROOT hard-
coded name.