Mac OS X v10.5, 10.6: Finder label changes to files/folders mounted via SMB may not appear to other clients

If one client connects to an SMB share point and changes the label color of a file or folder, another client connecting to the SMB share point may may only see the default color of the item.

This can happen if some clients use Mac OS X v10.6 and some use Mac OS X v10.5.

One workaround is to use named streams for both Mac OS X v10.5 and 10.6. There are three ways to do that:

To enable named streams for Mac clients on a per-SMB mount point basis

  1. Mount the NAS device or Microsoft Windows server on your Mac via SMB. Note: A NAS is used in the below command examples.
  2. Execute this Terminal command:
    ls /Volumes
  3. Note the proper mount name for your shared NAS.
  4. Execute this command in Terminal (replace SharedNAS with the proper mount name of your shared NAS):
    touch "/Volumes/SharedNAS/.com.apple.smb.streams.on"
  5. Eject the NAS or Windows server by dragging it to the Trash.
  6. Mount the NAS or Windows server again. Named streams will be active.
  7. If you have legacy AppleDouble files, execute this command in Terminal to convert them before using them:
    dot_clean --keep=dotbar "/Volumes/Shared NAS"

Important: Once converted, all Mac clients accessing this data will have to have named streams enabled.


To enable named streams as a default for your Mac OS X client's user account
 
Execute these two commands in Terminal:

echo "[default]" >>  ~/Library/Preferences/nsmb.conf
echo "streams=yes" >> ~/Library/Preferences/nsmb.conf

 

To enable named streams as a default for all Mac OS X client user accounts on a Mac

Log in to Mac OS X with an admin account if you aren't already, then execute these two commands in Terminal:

echo "[default]" | sudo tee -a /etc/nsmb.conf
echo "streams=yes" | sudo tee -a /etc/nsmb.conf

This document will be updated as more information becomes available.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Risks are inherent in the use of the Internet. Contact the vendor for additional information.

Last Modified:
Helpful?

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)