4 Replies Latest reply: Feb 1, 2013 8:16 AM by Discrepant
Discrepant Level 1 (0 points)

What I'm Trying to Do:

Utilize File Sharing with SMB enabled on an OS 10.8 Mac Mini to allow Windows and OS X machines on my home network to access a folder stored on an external USB drive.


What the Problem Is:

My primary goal is accomplished with the exception that rebooting my Mac breaks SMB. When I attempt to access the SMB share via Windows 7, I receive a prompt indicating that my credentials are incorrect. The only way I have been able to resolve this is by turning off the File Sharing feature in Mac OS and then turning it back on. Suddenly, all of my SMB shares can be seen and accessed once doing this.


My Question:

Why does my SMB functionality break every time I reboot the Mac? How can I prevent this from occurring in future reboots?

Mac mini, OS X Mountain Lion (10.8.2)
  • johnl927 Level 3 (565 points)

    Press Command + i to get info on your share and check the permissions (like listed below), click on the lock on the bottom right to change and edit permissions, click the plus, minus button to add and remove users

    Screen Shot 2013-01-31 at 7.58.27 AM.png

  • Discrepant Level 1 (0 points)

    To clarify further, I have already set the permissions I desire. The problem is that I lose the ability to access the SMB share when my Mac is rebooted. The only way to restore functionality and accept my credentials is to turn off and turn back on File Sharing.

  • vkehayas Level 1 (60 points)

    Haven't tried myself, but you might find what you were looking for here:



    Or just google 'fstab automount mac os x'.

  • Discrepant Level 1 (0 points)

    Well, I dug a little deeper into this. I have noticed this behavior had only begun after upgrading my primary hard drive to a solid state disk. It seems that there may be an issue with the order in which services start. The machine is just booting up too quickly. Which would explain why stopping and restarting the SMB service allows solves the problem until next reboot.


    To test this further, I want to write a simple startup script that will sleep for 30-60sec before stopping and starting the SMB service with serveradmin. Thing is, I'm not familiar with creating startup scripts for OS X. For now, my workaround is manual.