diff --git a/samba/config.yaml b/samba/config.yaml index 5dca98d..8183087 100644 --- a/samba/config.yaml +++ b/samba/config.yaml @@ -109,7 +109,7 @@ options: - media - share - ssl - - mnt + - sda8 compatibility_mode: false apple_compatibility_mode: true veto_files: @@ -129,7 +129,7 @@ schema: local_master: bool localdisks: str enabled_shares: - - "match(^(?i:(addons|addon_configs|backup|config|media|share|ssl|mnt))$)" + - "match(^(?i:(addons|addon_configs|backup|config|media|share|ssl|sda8))$)" compatibility_mode: bool apple_compatibility_mode: bool veto_files: diff --git a/samba/rootfs/usr/share/tempio/smb.gtpl b/samba/rootfs/usr/share/tempio/smb.gtpl index 67c2128..fb906e3 100644 --- a/samba/rootfs/usr/share/tempio/smb.gtpl +++ b/samba/rootfs/usr/share/tempio/smb.gtpl @@ -122,11 +122,11 @@ delete veto files = {{ eq (len .veto_files) 0 | ternary "no" "yes" }} {{ end }} -{{ if (has "mnt" .enabled_shares) }} -[mnt] +{{ if (has "sda8" .enabled_shares) }} +[sda8] browseable = yes writeable = yes - path = /mnt + path = /mnt/sda8 valid users = {{ .username }} force user = root