45 Drives Knowledge Base
KB450197 – How to disable .DS_Store Files from being created on a network location
http://knowledgebase.45drives.com/kb/kb450197-how-to-disable-ds_store-files-from-being-created-on-a-network-location/

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

Posted on February 10, 2020 by Rob MacQueen


Mac OS:

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.
KB450197 – How to disable .DS_Store Files from being created on a network location – 45 Drives Knowledge Base

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: 34
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access