I am trying to use symlinks in a SMB share on OMV 8.
What I did so far (not mentioning the steps to share SMB folder)
1. create a symlink to a folder outside the current SMB shared folder somewhere in the SMB share:
cd /srv/dev-disk-by-uuid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/
ln -s /var/www/html html
ls -la html
lrwxrwxrwx 1 root users 14 Jan 21 10:18 html -> /var/www/html/
2. in the OMV web interface, for the respective share I enabled both
3. save and apply
4. access smb share from a PC (windows for example)
- here the symlinks are not even visible in the share
5. check /etc/samba/smb.conf and here I can find these:
in Global:
in the respective share settings
Then I manually changed only this in the Global section of /etc/samba/smb.conf
and manually restarted smbd service, and now, the symlink appeared in the share and I was able to access the contents.
unfortunately, after changing anything in the web interface of smb server, this is overridden to the initial value (yes) by OMV and after applying the changes, the symlink is no longer visible in SMB share.
how can I enable symlinks in SMB server?