Don’t you hate those .DS_Store files lying around on your samba server.
Open up smb.conf and add the following lines to each share:
1 2 |
|
restart samba
Now cleanup the server of all those unwanted .DS_Store files.
$ find . -type f -name ".DS_Store" -exec rm -f {} \;
On your mac client, use this command to prevent any future creation of .DS_Store files on network shares:
$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true