Symbolic links created by Linux are not displayed in File Explorer

Liao 0 Reputation points
2023-05-09T03:07:36.9766667+00:00

I created some symbolic links to folders on my NAS with the Linux ln -s command, but Windows' File Explorer doesn't show them.

I was originally using Windows 10 Education, and the symbolic links were viewable in File Explorer. However, after I reinstall my system as Windows 10 Pro, they stopped showing up. I tried to recreate these links using ln -sfn command on the NAS and the File Explorer temporarily showed them again, but after a few hours (I have not found the exact trigger condition yet) they stopped showing up again.

The file system of my NAS is Btrfs, and the storage space is mounted as a network location in Windows using the Map Network Drive feature in File Explorer.

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,746 Reputation points
    2023-05-09T14:53:04.46+00:00

    Hello,

    based upon the information provided.

    Windows uses SMB. Linux uses Samba to serve files to windows over SMB. Samba may be the issue.

    To fix this problem you need to modify your SAMBA configuration.

    Add / modify these three lines to enable SAMBA mapping to symlink paths.

    follow symlinks = yes

    wide links = yes

    unix extensions = yes

    allow insecure wide links = yes

    Save the file and restart Samba service.

    service smb restart

    And see if it helps,

    Thank you

    --If the reply is helpful, please Upvote and Accept as answer--

    1 person found this answer helpful.

  2. Greggan 0 Reputation points
    2025-01-29T01:02:02.53+00:00

    Thank you so much, been scratching my head since I migrated from Gentoo to Ubuntu, this worked a treat.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.