KB450197 – How to disable .DS_Store Files from being created on a network location

Last modified: March 12, 2020
You are here:
  • KB Home
  • Mac OS
  • KB450197 – How to disable .DS_Store Files from being created on a network location
Estimated reading time: < 1 min

Mac OS:

  • To disable .DS_Store files from being created on network locations, open a Terminal and run the following on each Mac connected to the Server:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Samba:

  • Open up /etc/samba/smb.conf and add the following lines to each share:
veto files = /._*/.DS_Store/
delete veto files = yes
  • Now restart samba.
Was this article helpful?
Dislike 0
Views: 39
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access