[jboss-user] [JBoss Microcontainer Development] New message: "Re: VFS3 and symlinks"

Ales Justin do-not-reply at jboss.com
Thu Feb 25 11:32:11 EST 2010


User development,

A new message was posted in the thread "VFS3 and symlinks":

http://community.jboss.org/message/528555#528555

Author  : Ales Justin
Profile : http://community.jboss.org/people/alesj

Message:
--------------------------------------------------------------
> Just want to say that if this is the correct fix, it should not be optional. 
> 
I don't see any other way of fixing this -- force all paths to be canonical.
 
But I would expect that this call is not cheap, asking the underlying FS for canonical path.
And since 99% of users are not using symlinks (at least that's what I would expect), making this force optional makes sense.
> No point in allowing configurations which aren't valid.

I don't get this.
 
Unfortunately I think the problem is even bigger than just VFS::getChild.
My guess is that even calls to VirtualFile::getChild are due to fail with symlinked path?

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/528555#528555




More information about the jboss-user mailing list