Disable creation of Thumbs.db (#51)
* Disable creation of Thumbs.db and desktop.ini and a few others * Add .AppleDouble * Disable creation of Thumbs.db #51 (tweaked)
This commit is contained in:
parent
e2065dfec1
commit
0e48c16463
4
samba.sh
4
samba.sh
@ -76,7 +76,9 @@ share() { local share="$1" path="$2" browsable=${3:-yes} ro=${4:-yes} \
|
||||
echo " browsable = $browsable" >>$file
|
||||
echo " read only = $ro" >>$file
|
||||
echo " guest ok = $guest" >>$file
|
||||
echo " veto files = /._*/.DS_Store/" >>$file
|
||||
echo -n " veto files = /._*/.apdisk/.AppleDouble/.DS_Store/" >>$file
|
||||
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
|
||||
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
|
||||
echo " delete veto files = yes" >>$file
|
||||
[[ ${users:-""} && ! ${users:-""} =~ all ]] &&
|
||||
echo " valid users = $(tr ',' ' ' <<< $users)" >>$file
|
||||
|
Loading…
Reference in New Issue
Block a user