From 6f9176a09c9386c1b39e7421fe8bbd8487433843 Mon Sep 17 00:00:00 2001 From: Alpha Tango <53234819+alphatangoalpha@users.noreply.github.com> Date: Fri, 8 Nov 2019 05:45:42 -0500 Subject: [PATCH] Update for new veto_files option (#10852) * Update for new veto_files option * Update samba.markdown --- source/_addons/samba.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/_addons/samba.markdown b/source/_addons/samba.markdown index 5b21c892f7a..3aa6f3eff87 100644 --- a/source/_addons/samba.markdown +++ b/source/_addons/samba.markdown @@ -28,6 +28,13 @@ Sometimes shares will not show up under network in Windows. Then you could open "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16" + ], + "veto_files": [ + "._*", + ".DS_Store", + "Thumbs.db", + "icon?", + ".Trashes" ] } ``` @@ -55,4 +62,9 @@ allow_hosts: required: false default: '`["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]`' type: list +veto_files: + description: List of files that are neither visible nor accessible. Useful to stop clients from littering the share with temporary hidden files (e.g. macOS .DS_Store, Windows Thumbs.db) + required: false + default: '`["._*", ".DS_Store", "Thumbs.db", "icon?", ".Trashes"]`' + type: list {% endconfiguration %}