Example Mythbuntu SMB Shares

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
[global]
        workgroup = home
        server string = %h server (Samba, Mythbuntu)
        log file = /var/log/samba/log.%m
        max log size = 1000
        syslog = 0
        panic action = /usr/share/samba/panic-action %d
        dns proxy = no
        security = share
;       encrypt passwords = yes
;       guest ok = no
;       guest account = nobody

[recordings]
        comment = TV Recordings
        path = /var/lib/mythtv/recordings
        public = yes
;       writable = no
        create mask = 0777
        directory mask = 0777
        force user = nobody
        force group = nogroup

[videos]
        comment = Videos
        path = /var/lib/mythtv/videos
        public = yes
        writable = yes
        create mask = 0660
        directory mask = 0770
        force user = mythtv
        force group = mythtv

[music]
        comment = Music
        path = /var/lib/mythtv/music
        public = yes
        writable = yes
        create mask = 0660
        directory mask = 0770
        force user = mythtv
        force group = mythtv

[pictures]
        comment = Pictures
        path = /var/lib/mythtv/pictures
        public = yes
        writable = yes
        create mask = 0660
        directory mask = 0770
        force user = mythtv
        force group = mythtv