JuliaLang/julia

`EACCES` when checking `islink` for symbolic link on Windows

Open

#58,870 opened on Jul 1, 2025

 (3 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
good first issue

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (PR metrics pending)

Description

On Windows, when attempting to access CLAUDE.md on master:

julia> islink("CLAUDE.md")
ERROR: IOError: stat("CLAUDE.md"): permission denied (EACCES)

It looks like Windows 10+ supports a form of symbolic links, which Git will use now - unfortunately islink and isfile are unhappy about them.

This causes make check-whitespace to fail on Windows for me.

Contributor guide