[Samba] Can a macOS (Posix) client see symlinks on FreeBSD server as symlinks on client?
Jeremy Allison
jra at samba.org
Tue Jan 7 16:57:20 UTC 2025
On Mon, Jan 06, 2025 at 10:15:57PM -0800, Jim DeLaHunt via samba wrote:
>
>On 2025-01-06 01:49, Kees van Vloten via samba wrote:
>>
>>Op 06-01-2025 om 10:39 schreef Rowland Penny via samba:
>>>On Sun, 5 Jan 2025 22:43:23 -0800
>>>Jim DeLaHunt via samba <samba at lists.samba.org> wrote:
>>>
>>>>Hello, Samba folks:
>>>>
>>>>Is there a setting I could invoke, either on my server's Samba
>>>>configuration or on my macOS smbfs configuration, which would make
>>>>the hundreds of legacy symbolic links on the server's Posix file
>>>>system appear as symbolic links on the macOS client?
>>>>...[elided]...
>>>>
>>>...[elided]...
>>
>>...[elided]...
>>In the case presented above, there is another unknown, namely how is
>>the implementation in the macOS client regarding symlinks and
>>reparse points?
>
>Kees, thank you for the reply.
>
>How does the macOS client behave? That is a great question. I have
>not found good documentation on the subject. Apple has posted some
>Samba code publicly at
><https://github.com/apple-oss-distributions/smb/blob/main/kernel/smbfs/smbfs_smb.c>
>and the rest of that repository. I have not tried to read through it
>to figure out exactly how it behaves. And, I don't know for sure that
>the source code there was what was compiled to make the executables on
>my macOS machine.
Apple is not planning to implement the SMB3+POSIX extentions
as far as I know. This means they will keep using MFsymlinks
against Windows and Samba. "Real" symlinks can be seen as
reparse points as this is in the SMB3 protocol but without
POSIX extensions they will not be seen as symlinks.
More information about the samba
mailing list