Skip to main content
Question

Enable and Disable File Sharing OS X 10.7 or 10.8

  • April 5, 2013
  • 2 replies
  • 7 views

Forum|alt.badge.img+15

Does anyone have a way to enable or disable filesharing? I tried the script in the toolkit, did not have success.

Thanks

DD

2 replies

Forum|alt.badge.img+11
  • Contributor
  • April 8, 2013

If all you want to do is enable file sharing, shares are already setup, it's fairly simple:

launchctl load -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist

If you need to also setup the share points, take a look at the following page. It's fairly old, but it all appears to still apply.
http://systemsboy.com/2008/03/netboot-part-4.html


Forum|alt.badge.img+15
  • Author
  • Contributor
  • April 8, 2013

NIce!

I was looking for the GUI visual, but the file sharing checkbox doesn't check unless you reboot.
loading and unloading will turn on and off on the fly.

Thanks Josh

Dan