After my update to 8.2 among the little things that needed to get fixed were my Samba shares. I don't like the way LinHES lables drives so I make a symlink to a user readable and type-able name so
Code:
/data/storage/WDCWD8000AARS-00Y5B1_WD-WCAV59532307
becomes
/data/storage/disk3
Previously I updated this in /etc/samba/smb.conf.media but with the update it was wiped. Frustrated that I had to spend a half hour figuring out where all that nonsense was again I instead spent an hour finding another way.
Apparently it's as easy as adding the lines from /etc/samba/smb.conf.media to ~/templates/user.shares
So my user.shares file went from
Code:
unix extensions = no
follow symlinks = yes
wide links = yes
to
Code:
unix extensions = no
follow symlinks = yes
wide links = yes
[Disk3]
path = /data/storage/disk3
public = yes
only guest = yes
writeable = yes
printable = no
force user = mythtv
force group = mythtv
create mask = 0755
veto files = "/mysql/" "/srv/"
[disk0]
path = /data/storage/disk0
public = yes
only guest = yes
writeable = yes
printable = no
force user = mythtv
force group = mythtv
create mask = 0755
veto files = "/mysql/" "/srv/"
[myth]
path = /myth
public = yes
only guest = yes
writeable = yes
printable = no
force user = mythtv
force group = mythtv
create mask = 0755
veto files = "/mysql/" "/srv/"
Not to make any duplications I renamed /etc/samba/smb.conf.media to smb.conf.media.ignore
I AM NOT A LINUX EXPERT! THIS IS PROBABLY NOT THE BEST WAY TO DO THIS! but it works for me.