Any way to share a folder with symlinks over Samba?

Hi

I’m trying to find a way to share a folder with thousands of symlinks over Samba on ZimaOS but the Samba configuration resets completely on restart, not even using include on my own config file into the main “/etc/samba/smb.conf” efter the default “include = /etc/samba/casa.%U.conf“ nor does any custom configuration added in the “custom config“ section of “smb.conf” stay after a reboot.

Anyone got some good ideas?

Yeah that’s normal on ZimaOS, it rewrites the Samba config on every reboot, so anything custom just disappears.

For symlinks specifically, even if it stuck, Samba needs extra options to follow them anyway, so the built-in service isn’t really suited for this.

Cleanest way is to run your own Samba container where you control the config, or avoid symlinks and use proper mounts instead.