You are aware that the Dashboard UI will always re-write this file? Better to mess about with the Samba server.
I’ll give you an example. Consider the following theoretical tree…
\\MyBookLive\PUBLIC.
├───Shared Videos
├───Shared Music
├───Other Files
└───Shared Pictures
Let’s say you want read only access to everything under Public BUT read/write access to Other Files to only user Jack.
The Public share is still there but read only. A new private share (which does not show up on the Dashboard UI) named Public_OtherFiles appears on the network (no need to reboot the MBL or restart services) that only Jack can write to and it does NOT break the Dashboard UI.
A possible modification to /etc/samba/overall_share:
[Public_OtherFiles]
path = /shares/Public/Other Files
comment =
browseable = no
invalid users =
valid users = Jack
read list =
write list = Jack
map read only = no
## BEGIN ## sharename = Public #
[Public]
path = /shares/Public
comment = Public share
public = yes
browseable = yes
writable = no
guest ok = yes
map read only = no
## END ##
It’s a workaround and will survive a firmware update.