This is Ubuntu server 10.04 64 and samba 3.4.7.
I have a shared directory /home/mit/share
and another one /home/temp
that I link into the shared one:
ln -s /home/temp /home/mit/share/temp
But on windows, after using internet, I cannot open S:/temp
, but on Linux it is possible to access /home/mit/share/temp
like expected.
This works if I link directories inside /home/mit/share/temp
, so I guess samba is restricting to jump with a link outside/above the shared directory.
EDIT:
See also this question titled Ubuntu + latest samba version, symlinks no longer work on share mounted in Windows.
It seems best to put unix extensions = no
into the global section and follow symlinks = yes
and wide links = yes
only into the shares section, where you really need it.
The unix extension
flag has to live in the global section and not in the individual shares sections. But for security reasons it is better to use the other options only where you need it, and not globally.