Apple - Dot-files and other meta data on non-Mac network shares

Is the file you're trying to copy using a resource fork?

If you're dealing with .DS_Store file issues run the following command in Terminal:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

If you're having issues with resource forks on Snow Leopard you may need to change your settings for the streams setting in smb.conf on the Linux machine or nsmb.conf on your local Mac. (._FILENAME files are the resource forks of the file). Check out Super User for more details on this.


defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Will get rid of the DS files. Anything else you might have to do by hand.


Adapted from https://apple.stackexchange.com/a/57832/8546


Finder

Finder does much to ensure integrity of data, and to make its results compatible with a broad range of Apple operating systems. For some types of copy/move routines, ._ (dot underscore) files are required.

File system

If creation of ._ files is prevented at the file system level, then that file system is partially incompatible with at least:

  • Apple Finder
  • Microsoft Office Excel, PowerPoint and Word 2011.

(For any use case that involves Office 2011 saving to a file system, you must allow ._ on that file system … and so on.)

Error code -36

-36 (ioErr) (I/O error) is a file system error, it indicates that data cannot be sent or received by the operating system. Historically, errors of this type were bummers.

Without knowing the detail of your Samba configuration:

  • I guess that in your case, error -36 is the result of a file system restriction.

For more detail please see my answer to an older question, Why are dot underscore ._ files created, and how can I avoid them?:

  • Purposes of .DS_Store and ._ files

Tags:

Smb

Finder