• 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
[OT] Re: enable/disable/check file Sharing from code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OT] Re: enable/disable/check file Sharing from code


  • Subject: [OT] Re: enable/disable/check file Sharing from code
  • From: Alastair Houghton <email@hidden>
  • Date: Mon, 21 Sep 2009 20:09:32 +0100

On 21 Sep 2009, at 17:56, Georg Seifert wrote:

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...").

It's already been pointed out that this is off-topic for cocoa-dev; it isn't a question about Cocoa.


Moreover, as you've already been told twice now, the answer to your question is launchctl. You shouldn't *be* starting AFS by executing the binary from /usr/sbin.

Alastair.

--
http://alastairs-place.net



_______________________________________________

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


References: 
 >Re: enable/disable/check file Sharing from code (From: James Bucanek <email@hidden>)
 >Re: enable/disable/check file Sharing from code (From: Georg Seifert <email@hidden>)

  • Prev by Date: Re: Tablet events from ordinary touchpad?
  • Next by Date: NSManagedObject Initialization Methods Not Called
  • Previous by thread: Re: enable/disable/check file Sharing from code
  • Next by thread: NSURLConnection inserting Accept-Language and Accept headers
  • Index(es):
    • Date
    • Thread