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. ---- In my not-so-clear-way, I was wondering if the synchronization process of Roaming Profiles was able to handle symlinks (by default, or otherwise). I still don't know (and your results are inconclusive), but from the above results it looks like Samba shares don't either.
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 :-).
Mandi! Jeremy Allison via samba In chel di` si favelave...> 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 :-).OK. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)