by Bruce Garlock
We have been battling a strange Snow Leopard font issue (who hasn't) for a while now, and this one seemed to work on some SL machines, and not others. As it turned out, I had made some changes as to the way SMB connections happen on my machine, so I couldn't reproduce this issue. I had even made this change on a couple of our Art department managers machines, so we couldn't get it to mess up on their machines either. The problem presents itself like this:
* An SMB connection to a Windows Server 2003
* Files where originally copied via AppleTalk (AFP)
* When viewing those files, they show up as 0k
In our case, those files are fonts, and this SMB share was our font sharing resource for our company. So, some users would go to the SMB share and see the fonts as 0k, unable to copy them or use them in any way. We had to have someone who had a machine where things worked properly (10.5 and below, and as it turns out the little hack I will present below for the SL machines). This of course is a pain, and slows down our workflow.
Long story short, we had to disable "named streams" in SMB. To do this system wide (as root*):
1. Create a new file (as this file is probably not on your system) as: /etc/nsmb.conf
2. Add the following lines:
3. Save, and reboot
* You need to be root to write this file to /etc. In order to become root, an account needs to be an 'admin' account. Then, just hit the terminal with:
'sudo su -'
If you are using an account that is a regular user, then you will need to 'su' to the admin account, before you can run 'sudo su -'
Type in your admin users password, and you should be at the # prompt, denoting root.
Hope this helps someone else out. I had totally forgotton that I had made those changes to /etc/nsmb.conf on the machines where everything was working!
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Take Control of Upgrading to Sierra
Take Control of the Mac Command Line with Terminal, Second Edition
Take Control of Numbers
Take Control of Upgrading to Yosemite
Take Control of Preview
More Articles by Bruce Garlock © 2013-10-08 Bruce Garlock