symlink issue on a synology NAS

Get help for specific problems
Posts: 4
Joined: 19 Apr 2025

eseb63

Hello,
I try mirroring a folder containing symbolic links, from Windows 10 machine to a Synology NAS (with the option include as link)
The target dir is \\SYNO_NAS\Musique\MinimServer

I get a 4390 Error

Error Code 4390: The file or directory is not a reparse point. (CreateSymbolicLinkW)

Did i miss something?

Thanks in advance for the reply
Posts: 4
Joined: 19 Apr 2025

eseb63

up ? zenju?
Posts: 14
Joined: 18 Apr 2022

dennisb

The error message is not very clear but it means the link can't be created.

In the comparison settings, you probably have checked "Include symbolic links" and "As link" but the NAS does not support links so the error.

You can either select "Follow" which will copy what the link points to, or not include links at all.
Posts: 4
Joined: 19 Apr 2025

eseb63

thanks for the reply...
yes, i use "Include symbolic links" and "As link" in the comparison settings

the option "Allow symbolic links within shared folders" is enabled on Synology DSM 6 samba protocol advanced settings

what protocol is used by FreeFileSync in this case ?
Posts: 14
Joined: 18 Apr 2022

dennisb

I believe Synology symlinks can only be created via a terminal session using Telnet\SSH but created this way they are not persistent and will disappear after a reboot. There is a way to modify /etc/rc.local and add a mount command - see https://www.albertogonzalez.net/how-to-create-a-symbolic-link-to-a-folder-on-a-synology-nas/
Posts: 4
Joined: 19 Apr 2025

eseb63

thanks for the link

I tried with other sync tools :
dirSync Pro : same error than FreeFileSync
deltaCopy with rsync : links were not recognized

I finally wrote a powershell script to export the Windows links in a text file which is copied on the NAS and used by another bash script to restore them.