JBoss development,
A new message was posted in the thread "VFS3 and symlinks":
http://community.jboss.org/message/528517#528517
Author : Ales Justin
Profile :
http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
*
https://jira.jboss.org/jira/browse/JBVFS-138
The question is.... Do we want to support the notion that they are
always the same? I don't think so. I think if you provide the canonical path at
mount time, that is what is mounted. If you provide the path with a symlink, that is what
is mounted. Otherwise we would have to force it to the canonical path every time, or
create mount the same filesystem at multiple mount points.
Afais, the fix is simple, simply try to convert every path in VFS::getChild(String
path) to canonical path.
I would just put a flag, which would be false by default, if we should really do this for
every invocation.
I hacked this already. :-)
But if there is a better way to do this, or if I missed some use case, feel free to fix
it.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/528517#528517