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

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


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.

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