• 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: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3


  • Subject: Re: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 01 Jun 2013 14:04:30 -0700

On Sat, Jun 1, 2013, at 11:45 AM, Cianflone, Chris wrote:
> I get the same output for our 32-bit and 64-bit builds.  Surely we must
> still be able to create temp files?

Spotlight importers run within a worker process; thus, they inherit the
sandbox of the worker process, not the sandbox of your app (which might
not even be running). Because these processes are run automatically by
the system with the permissions of the user, it makes sense to severely
restrict the worker's sandbox, or else the process can silently behave
in ways the user does not expect.

While it would probably be a good idea to file a request that Spotlight
importers be run within their owning app's sandbox container (thus
granting it access to the container's temp directory), I'm kind of
curious why your Spotlight importer needs to create temporary files at
all.

--Kyle Sluder
_______________________________________________

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:
    • Re: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
      • From: Quincey Morris <email@hidden>
    • RE: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
      • From: "Cianflone, Chris" <email@hidden>
  • Prev by Date: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
  • Next by Date: Re: iCloud Key-Value Store not Syncing ?
  • Previous by thread: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
  • Next by thread: RE: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3
  • Index(es):
    • Date
    • Thread