Your best bet is to implement the FileSystemView or extend the NativeFileSystem and override the listFiles method to omit symlinks. For Java 1.6 and earlier versions, below is a link to figure out if a file is a symlink. Not sure if it works on all OSes, but should work on *NIX systems. If using Java 1.7, I believe there are APIs to do this.
http://stackoverflow.com/questions/813710/java-1-6-determine-symbolic-links If you do not want to write your own implementation, then you can provide a patch with a configurable parameter so the NativeFileSystem would include/exclude symlinks. Hope this helps. Sai. On Thu, Dec 6, 2012 at 11:33 AM, Milos Novakovic <milos...@gmail.com> wrote: > Does anyone know, how symlinks should be disabled? > > Thanks. > > -- > Best regards, > Mr Milos M. Novakovic, dip. ing. el. >