carl moonan | the dude abides

How to prevent .DS_Store file creation on network connections on Mac OS X 10.5

Based on this article here - http://support.apple.com/kb/HT1629 you can configure your mac to stop writing the .DS_Store files on you network mounts. This is especially useful when interacting with MS Windows environments.

To disable open a terminal and enter this command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

To enable open a terminal and enter this command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores false

A restart is needed for this to take effect :( .

If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above—or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.

These steps do not prevent the Finder from creating .DS_Store files on the local volume. These steps do not prevent previously existing .DS_Store files from being copied to the remote file server. Please note that disabling the creation of .DS_Store files on remote file servers can cause unexpected behavior in the Finder (click here for an example).

No Comments, Comment or Ping

Reply to “How to prevent .DS_Store file creation on network connections on Mac OS X 10.5”