My first post to this forum - I hope I meet the forum conventions.
I want to add
follow symlinks = yes
wide links = yes
to the global section in /etc/samba/smb.conf. According to this Mantis ticket: http://bugtracker.openmediavault.org/view.php?id=258
I created:
/usr/share/openmediavault/scripts/samba.d/11global
with the content:
#!/bin/sh
set -e
. /etc/default/openmediavault
OMV_SAMBA_CONFIG=${OMV_SAMBA_CONFIG:-"/etc/samba/smb.conf"}
cat <<EOF >> ${OMV_SAMBA_CONFIG}
follow symlinks = yes
wide links = yes
EOF
and chmod +x the file. I also had directly edited smb.conf and added the two link-lines above. After the next change in the web-interface to samba, the lines about links dissappeared again. When I tried to investigate, in /etc/default/openmediavault I dont find OMV_SAMBA_CONFIG.
How can I achieve, what I want?
I am OMV using 3 Beta, everything updated, on HP-Proliant-Microserver Gen8 on a SD-Card (I was not successful installing 2 - it didn't boot, I always ended up on the grub rescue prompt).
Kind regards -buers