Hector Correa updated his previous report with another way to turn off streams to eliminate the -36 error in file sharing in Snow Leopard. Like some other readers Correa could not copy files to a network attached storage (NAS) device. The previously reported fix involved editing the nsmb.conf file to set "streams-no". The easier method involves using "touch" in Terminal. Correa said:
For what is worth, I found more information about this problem and another (easier) way to turn off streams on an article at the Apple site. I posted the details on my blog if you are interested.
The Apple fix (article HT4017) that Correa refers to provides this procedure for turning off streams to fix the problem for a NAS device, which does not involve editing a file. It uses the Terminal utility located in /Applications/Utilities:
To disable named streams for Mac clients on a per SMB mount point basis
- Mount the NAS device or Windows server on your Mac via SMB. Note: A NAS is used in the below example command.
- Run the Terminal command ls /Volumes and note the proper mount name for your shared NAS.
- Run this command in Terminal (replace SharedNAS with the proper mount name of your shared NAS)
touch "/Volumes/SharedNAS/.com.apple.smb.streams.off"
- Eject the NAS or Windows server by dragging it to the Trash.
Named streams will now be deactivated whenever the NAS or Windows server is mounted.
If you want to disable streams for all SMB volumes that a Mac connects to, the Apple article describes editing the nsmb.conf file, as we have previously reported.
If you've tried using the touch command as Apple describes to fix this problem