WHS and a Macintosh

I was making a copy some WHS server folders so that I could take a small section of the filesystem with me on holiday (for reference). However half way through the copy I got an error dialog informing me that the copy could not access the source disk. WTF?

Investing I found that some of the files and directories has been created on the WHS server using Samba from a Macintosh. These had trailing spaces in their file names. Win32 will not allow this via the UI however samba subverts this API.

See cause 6:

The solution was to SMB mount this filesystem onto any old Linux box, or the original Mac, and rename the directories and files appropriately.

mkdir /cheese
smbmount //cheese/Users /cheese
  • blog/whs_and_a_macintosh.txt
  • Last modified: 2009/11/27 17:54
  • by