• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: enable/disable/check file Sharing from code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enable/disable/check file Sharing from code


  • Subject: Re: enable/disable/check file Sharing from code
  • From: Georg Seifert <email@hidden>
  • Date: Mon, 21 Sep 2009 18:56:39 +0200


Is there a way to enable and disable file sharing from code.

Almost all background services are universally controlled by launchd. See man launchctl, launchd, et al.

This is not exactly my problem. I can start file sharing with just calling "/usr/sbin/AppleFileServer". My question was how to to it that would also check the checkbox and respect the settings in the sharing pane (enable afs, smb and ftp it is selected in "Options...").


regards
Georg
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • [OT] Re: enable/disable/check file Sharing from code
      • From: Alastair Houghton <email@hidden>
References: 
 >Re: enable/disable/check file Sharing from code (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: /Library/Preferences Writable By Everyone
  • Next by Date: Re: /Library/Preferences Writable By Everyone
  • Previous by thread: Re: enable/disable/check file Sharing from code
  • Next by thread: [OT] Re: enable/disable/check file Sharing from code
  • Index(es):
    • Date
    • Thread