diff --git a/samba.sh b/samba.sh index 3f0c26d..4784bd9 100755 --- a/samba.sh +++ b/samba.sh @@ -101,7 +101,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \ echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file echo " delete veto files = yes" >>$file - [[ $share == "homes" ]] && + [[ $share == "homes" ]] && echo " force user = %S" >>$file && echo " force group = %S" >>$file [[ ${users:-""} && ! ${users:-""} =~ all ]] &&