diff --git a/source/net/sourceforge/filebot/MetaAttributeView.java b/source/net/sourceforge/filebot/MetaAttributeView.java index 8a4d384e..a97f7666 100644 --- a/source/net/sourceforge/filebot/MetaAttributeView.java +++ b/source/net/sourceforge/filebot/MetaAttributeView.java @@ -21,7 +21,11 @@ public class MetaAttributeView extends AbstractMap { public MetaAttributeView(File file) throws IOException { Path path = file.toPath(); while (isSymbolicLink(path)) { - path = readSymbolicLink(path); + Path link = readSymbolicLink(path); + if (!link.isAbsolute()) { + link = path.getParent().resolve(link); + } + path = link; } attributeView = Files.getFileAttributeView(path, UserDefinedFileAttributeView.class);