Friday, May 09, 2008

Mac OS X 10.4: How to prevent .DS_Store file creation over network connections

clipped from support.apple.com

To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.
Note: This will affect the user's interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.

  • Open the Terminal.
  • Type:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  • Press Return.
  • Restart the computer.
  • 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.

     blog it