Hey there,

When using the Nix package manager, almost all files and folders are
installed as symlinks (for various reasons).

I was attempting to use OpenIMAJ, which calls into
java.awt.color.ICC_Profile.getStandardProfile. However, this throws an
exception when used. This is due to line 1836 in getProfileFile() calling
"isChildOf(File f, String dir)".

This involves expanding the file and its parent to their canonical paths.
However, on a symlinked system, they have different canonical paths and
this returns false.

I was wondering if this was a bug, or exists for a reason?

Many thanks,
-- 
Callum

Reply via email to