View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Nov 05, 2014 3:58 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1196
Location: Orlando FL
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.

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu