You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/01/10 19:56:55 UTC

[jira] Closed: (MCLEAN-39) followSymLinks is always set to true

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

Benjamin Bentmann closed MCLEAN-39.
-----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann  (was: Brian Fox)

Fixed in [r897682|http://svn.apache.org/viewvc?view=revision&revision=897682].

> followSymLinks is always set to true
> ------------------------------------
>
>                 Key: MCLEAN-39
>                 URL: http://jira.codehaus.org/browse/MCLEAN-39
>             Project: Maven 2.x Clean Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: Maven 2.0.9, Linux
>            Reporter: Bouiaw
>            Assignee: Benjamin Bentmann
>            Priority: Blocker
>             Fix For: 2.4
>
>         Attachments: clean.txt, test-clean.zip
>
>
> From my tests, followSymLinks that is used to delete the content of symlink when it is set to true, is not taken in account.
> It should be a regression caused by http://jira.codehaus.org/browse/MCLEAN-28
> This is a blocker bug, since it could delete all the filesystem easily, and there is no workaround. Even when I set followSymLinks  explicitley to false, Maven clean 2.3 follow symlinks and delete its contents.
> To reproduce :
> Declare 2.3 clean plugin in your pom
> mkdir /tmp/test
> touch /tmp/test/foo
> symlink -s /tmp/test /myproject/target/test
> cd /myproject
> mvn clean
> After runnig that, /tmp/test is empty !
> If it is confirmed, I would recommand to release quickly a 2.4 version with a fix, since in is REALLY dansgerous.

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