Advertisement

OS X Lion bug may affect Windows file sharing

A bug has been discovered in OS X Lion Server that appears when a user tries to share a file with extended attributes with a Windows XP or Windows 7 system. The bug was first discovered by Steve Maser, a senior systems administrator at the University of Michigan's Office of Technology Transfer. In a message posted to the OS X Server list, Maser details the bug:

"If a file/folder on your 10.7.x Mac (and this includes Mac OS X Server) has some specific (?) extended attributes on it and you do Windows Sharing for Windows users to access the file/folders -- you won't be able to pull the file down to your Windows desktop. I verified this with Windows 7." The bug has also been verified with Windows XP.

According to Steve, the copy process appears to begin, before halting with an error message like, "the file name you specified is not valid or too long," or less frequently, an "Invalid MS-DOS Function" message.

Maser also notes a workaround he devised. It's not a fix but it will allow for a file to be copied by removing the attributes from the file's metadata. Apple hasn't acknowledged the bug yet, but per Masers posting, they now know about it and and fix should be added to OS X Lion server in the future.