How do you make samba follow symlink outside the shared path
Edit smb.conf
[global]
unix extensions = no
[share]
follow symlinks = yes
wide links = yes
Note: If you're using a newer version of samba the following may work for you instead:
[global]
allow insecure wide links = yes
[share]
follow symlinks = yes
wide links = yes
documentation on follow symlinks
and wide links
flags: https://www.samba.org/samba/docs/using_samba/ch08.html#samba2-CHP-8-TABLE-1
Alternatively to the other answers, to keep the unix extensions enabled, it is possible to use:
[global]
allow insecure wide links = yes
[share]
follow symlinks = yes
wide links = yes
Greetings, I've tried putting this into configuration to fix symlinks for windows for my setup , but I am not sure if it will affect windows client, otherwise it follows symlinks when I connect to this box.
[global]
unix extensions = no