Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm having an issue with file sharing in Lion using the default system pref pane. Although the list shows no share points, i can see that my home folder, and Macintosh HD are being shared, despite my empty list. Does anyone know how to 'reset' ALL file sharing options, or possible the .plist file associated with sharing services on the mac.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The simple act of clicking the "File Sharing" check box will allow the following things to happen.

  • Any user account can connect to the machine and access their own home folder, as well as the public folders on any other user account.
  • Any administrator users can access the boot disk.

The list of shared folders in the preference pane is for fine-tuning access to public folders and defining customized share points.

You can fine-tune the basic share points with Mac OS X Lion Server, which is available as a software package from the App Store nowadays. It's not terribly practical to try to hack this yourself on the command line. While it may be possible to just mess with the server daemon's configuration files, it may be more trouble than its worth when you could just disable the built-in server and install Netatalk.

Really, the easiest option if you just want to open up parts of your computer to specific logins, would be to create "sharing only" user accounts, allow them access to specific share points that you manually define in System Preferences, and disallow them access to the public folders.

share|improve this answer
    
thumbs up for the great answer, i never knew about this automatic sharing of user folders when logged as the respective user, and boot disk sharing if logged as an admin. I thought this was some freak runaway of my settings, but if it's intentional, i don't mind it. –  XAleXOwnZX Aug 23 '11 at 14:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.