Languages

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

Symptoms

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.

Resolution

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.
Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Last Modified: Jan 10, 2013
Helpful?
Yes
No
  • Last Modified: Jan 10, 2013
  • Article: TS3333
  • Views:

    5245
  • Rating:
    • 20.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked