You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/02/03 17:59:13 UTC
[jira] Updated: (MCLEAN-4) does not handle symbolic links correctly
[ http://jira.codehaus.org/browse/MCLEAN-4?page=all ]
John Casey updated MCLEAN-4:
----------------------------
Fix Version: 2.0.1
> does not handle symbolic links correctly
> ----------------------------------------
>
> Key: MCLEAN-4
> URL: http://jira.codehaus.org/browse/MCLEAN-4
> Project: Maven 2.x Clean Plugin
> Type: Bug
> Reporter: John Casey
> Assignee: John Casey
> Priority: Blocker
> Fix For: 2.0.1
>
>
> inside removeDir(..), each file needs to be checked to see if it's a symbolic link. If so, the link should be deleted, not the referenced location. I *think* we can address this by adding a check similar to:
> if ( !f.getCanonicalPath().startsWith( d.getCanonicalPath() ) )
> {
> // don't process as a subdir, just erase the file. WILL THIS WORK?
> }
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org