[Samba] Windows link in linux share...
jra at samba.org
Tue May 5 20:54:26 UTC 2020
On Tue, May 05, 2020 at 01:01:00PM -0700, Kris Lou via samba wrote:
> Well, I just did a dirty test:
> * mklink link.txt "textfile.txt"
> * mklink /D DIrLink "Directory"
> * copied it to a samba share via Explorer (drag and drop).
> * copied it to a Windows share via Explorer (drag and drop).
> In both cases, it copied the contents of "textfile.txt" as "link.txt",
> definitely not a symlink (windows or otherwise). Same with "DirLink" --
> contents as a new directory
> * Copied to a Windows share via "xcopy /B" and also "copy /L"
> This created a symlink on the remote filesystem, though the destination was
> also "local" to that filesystem and didn't exist.
> * Attempted to copy to a Samba share via "xcopy /B" and "copy /L"
> File creation error - The file or directory is not a reparse point.
Yes, Samba doesn't support Windows reparse points.
We're thinking about adding some preliminary support
as part of the SMB3+ UNIX extensions, but we'd store
them as an EA on a zero-length file.
Windows supports them on both files and directories
(which always seemed a bit strange to me :-).
More information about the samba