Mac OS X v10.5, 10.6: Finder label changes to files/folders mounted via SMB may not appear to other clients
Products Affected
Mac OS X 10.5, Mac OS X 10.6
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
- Mount the NAS device or Microsoft Windows server on your Mac via SMB. Note: A NAS is used in the below command examples.
- Execute this Terminal command:
ls /Volumes - Note the proper mount name for your shared NAS.
- Execute this command in Terminal (replace SharedNAS with the proper mount name of your shared NAS):
touch "/Volumes/SharedNAS/.com.apple.smb.streams.on"
- Eject the NAS or Windows server by dragging it to the Trash.
- Mount the NAS or Windows server again. Named streams will be active.
- 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
Twitter
Facebook