You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/02/19 08:45:44 UTC

[Bug 59031] New: Tomcat 8 uninstaller entres a symbolic link and deletes its contents

https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

            Bug ID: 59031
           Summary: Tomcat 8 uninstaller entres a symbolic link and
                    deletes its contents
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: birger.sp@gmail.com

My Tomcat 8 installation folder contained a symbolic link to a folder (A) for
some project of mine. When uninstalling tomcat, the contents of my project
folder (A) was removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59031] Tomcat 8 uninstaller entres a symbolic link and deletes its contents

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

--- Comment #3 from Birger Skogeng Pedersen <bi...@gmail.com> ---
(In reply to Mark Thomas from comment #1)
> Which operating system was this on?

Windows 10

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59031] Tomcat 8 uninstaller entres a symbolic link and deletes its contents

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Which operating system was this on?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59031] Tomcat 8 uninstaller entres a symbolic link and deletes its contents

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Thanks for the additional information.

NSIS (the tool we use to build the Tomcat installer) follows symbolic links so
the recursive delete which is part of the uninstall was responsible for
removing the contents of the symlinked directory.

I have modified the uninstaller so it first removes all symlinks from the
Tomcat installation directory and any sub-directories before it does the
recursive deletes.

The fix has been applied to 9.0.x for 9.0.0.M4 onwards, 8.0.x for 8.0.33
onwards, 7.0.x for 7.0.69 onwards and 6.0.x for 6.0.46 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59031] Tomcat 8 uninstaller entres a symbolic link and deletes its contents

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

--- Comment #2 from Birger Skogeng Pedersen <bi...@gmail.com> ---
Windows 10

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59031] Tomcat 8 uninstaller entres a symbolic link and deletes its contents

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59031

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows 10

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org