You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2008/06/21 03:28:26 UTC

[jira] Closed: (MRM-789) Archiva may delete you app server installation

     [ http://jira.codehaus.org/browse/MRM-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-789.
--------------------------------

    Resolution: Fixed

Fixed in trunk -r670114:

- added an additional check in ArchivaConfiguration to append 'data/repositories/[repo_id]' in the repo location if the location already exists & does not end with 'data/repositories/[repo_id]' when loaded from the default config (from default-archiva.xml) 
- added test

> Archiva may delete you app server installation
> ----------------------------------------------
>
>                 Key: MRM-789
>                 URL: http://jira.codehaus.org/browse/MRM-789
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository interface
>    Affects Versions: 1.0.2
>         Environment: linux, jdk 1.6, tomcat 6
>            Reporter: Brill Pappin
>            Assignee: Maria Odea Ching
>            Priority: Critical
>             Fix For: 1.1
>
>
> I installed the WAR version of Archiva into my tomcat instance... no problem so far.
> I then attempted to delete the default "internal" repository. I hit the delete config and contents button.
> At that moment I noticed that the repository directory was the tomcat home directory.
> Archiva managed to completely delete my Tomcat installation.
> To reproduce this, install it as a war, point a repo dir at your app server home, and hit the delete button (make sure you have a backup).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira