[jboss-jira] [JBoss JIRA] Updated: (JBVFS-138) Issues with symboic links in VFS3

John Bailey (JIRA) jira-events at lists.jboss.org
Wed Feb 24 14:37:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBVFS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Bailey updated JBVFS-138:
------------------------------

    Description: 
If a filesystem is mounted for a path that contains a symbolic link, it will only mount at the path provided at mount time.  In other words if you mount it using the canonical path, it will not be accessible using the path containing the symlink.  The same is true for the opposite case.  

Ex.
   Link:     /path/with/link --> /path/without/link
   Mount:  /path/without/link/archive.ear
   Mount:  /path/without/link/archive.ear/archive.jar
   Access: new URL("file:///path/with/link/archive.ear/archive.jar")   <---  This is fail as /path/with/link/archive.ear/archive.jar does not point to the mounted filesystem.  It will default to the RealFilesystem and archive.jar will not exist.


* See http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/src/test/java/org/jboss/test/vfs/SymlinkTestCase.java for more details  

  was:
If a filesystem is mounted for a path that contains a symbolic link, it will only mount at the path provided at mount time.  In other words if you mount it using the canonical path, it will not be accessible using the path containing the symlink.  The same is true for the opposite case.  

Ex.
   Link:     /path/with/link --> /path/without/link
   Mount:  /path/without/link/archive.ear
   Mount:  /path/without/link/archive.ear/archive.jar
   Access: new URL("file:///path/with/link/archive.ear/archive.jar")   <---  This is fail as /path/with/link/archive.ear/archive.jar does not point to the mounted filesystem.  It will default to the RealFilesystem and archive.jar will not exist.


* See https://svn.jboss.org/repos/jbossas/projects/vfs/trunk/src/test/java/org/jboss/test/vfs/SymlinkTestCase.java for more details  



> Issues with symboic links in VFS3
> ---------------------------------
>
>                 Key: JBVFS-138
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-138
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0.CR1
>            Reporter: Ales Justin
>            Assignee: John Bailey
>             Fix For: 3.0.0.CR2
>
>
> If a filesystem is mounted for a path that contains a symbolic link, it will only mount at the path provided at mount time.  In other words if you mount it using the canonical path, it will not be accessible using the path containing the symlink.  The same is true for the opposite case.  
> Ex.
>    Link:     /path/with/link --> /path/without/link
>    Mount:  /path/without/link/archive.ear
>    Mount:  /path/without/link/archive.ear/archive.jar
>    Access: new URL("file:///path/with/link/archive.ear/archive.jar")   <---  This is fail as /path/with/link/archive.ear/archive.jar does not point to the mounted filesystem.  It will default to the RealFilesystem and archive.jar will not exist.
> * See http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/src/test/java/org/jboss/test/vfs/SymlinkTestCase.java for more details  

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

        



More information about the jboss-jira mailing list