CNET también está disponible en español.

Ir a español

Don't show this again


Ongoing SMB permissions issue after upgrading to 10.6.3

An ongoing issue that people have had with the latest 10.6.3 update is with changes to the Finder's handling of files when copying to mounted SMB shares.

An ongoing issue that people have had with the latest 10.6.3 update is with changes to the Finder's handling of files when copying to mounted SMB shares. There have been errors stating the files cannot be copied either because the user does not have permissions to access them, or a Finder error -36 which is a basic I/O error.

These problems appear to be caused by the Finder's handling of extended attributes associated with the files being managed, some of which may be hidden files or split "forked" files. While a full fix will need to come from Apple either updating the Samba implementation or the Finder so they work better together, there are a couple of methods for overcoming these errors and getting the files to transfer.

Clear dot-underscore files

If you are copying a folder, launch the terminal and type "dot_clean" followed by a single space. Then drag and drop the folder you are copying to the Terminal window. This will complete the full path to the folder in the Terminal window, after which you just need to press enter. The command will remove the dot-underscore files and hopefully allow the file copy process to work for that folder.

Zip and transfer

Use the Finder's "Compress" feature (in the contextual menus) on folders you are transferring. This may be a bit cumbersome for some situations, but will turn all the selected files into a single zipped archive which will simplify the copy process and potentially avoid the errors.

Change the Samba settings for unix extensions

Samba has the option to not recognize unix extensions when handling files, which will prevent it from interacting with the extended attributes the Finder appends to files. This was recently reported as a workaround on Slashdot, and here is how to implement it:

  1. First get a copy of "TextWrangler" (free from BareBones software) or another text editor that supports authentication.

  2. Choose "Go to folder" from the Finder's "Go" menu

  3. Enter "/etc" in the field and press enter. WARNING: Be careful in this folder, and only modify the files we mention.

  4. Locate the file "smb.conf" and copy it to the desktop as a backup. Then open it with TextWrangler or your preferred text editor.

  5. Under the [global] section, create a new line and add the following text:

    unix extensions = no

  6. If you use TextWrangler, upon editing you will be asked to authenticate, in which case supply your administrator credentials.

  7. Save and close the file, then either restart the system or toggle file sharing off and on again in the System Preferences.

Use the Terminal

If you are savvy with the Terminal, try using it to copy files to your mounted SMB shares with the basic file handling commands (mv, cp, etc). The problem at hand appears to happen only with the Finder, so copying methods that do not use the Finder should work.

Questions? Comments? Post them below or email us!
Be sure to check us out on Twitter and the CNET Mac forums.