Hello all,

please have look at this issue:

https://issues.apache.org/jira/browse/NETBEANS-3249?focusedCommentId=16998515&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16998515

TL;DR: NetBeans asks Chrome to open a file:///, Chrome does this, but
it seems, that it is not the same file, as NetBeans send. Instead of
/var, /var/private is returned as base directory.

>From my reading this is most probably NetBeans having a symlink in the
url and Chrome using the resolved path.

It would be helpful to see the output of

ls -lh /var

I suspect, that /var is a symlink to /var/private - this this the case?

Please also run:

jrunscript -e 'var f = new File("/var"); java.lang.System.out.println(f); 
java.lang.System.out.println(f.toPath().toRealPath().toFile())'

This tries to resolve the symlink and outputs the path before and after
normalization.

Thank you for your help.

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to