• 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: How to tell if a file is writable in sandboxed mode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell if a file is writable in sandboxed mode?


  • Subject: Re: How to tell if a file is writable in sandboxed mode?
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 13 Nov 2013 23:50:49 -0800

On Nov 13, 2013, at 10:19 PM, Oleg Krupnov <email@hidden> wrote:

> And as always, my design is asked to be reconsidered. No one wants to
> reconsider design of the sandbox itself, that *IS* creating so much
> pain in the ass for everyone :)

Because we can't change the sandbox by discussing it on this list.

> BTW this bug affects many apps in the App
> Store which need to write and delete files in folders. I have already
> filed this bug to Apple and in the meantime, I need to give some kind
> of instruction to the user. To do this I need to know if there is no
> access due to file permissions (normal case) or due to sandbox
> (Mavericks bug).

Sounds like you could just provide an alert with some descriptive text like “Could not access folder. It may be possible to browse for this folder manually.” And offer two buttons: “Cancel” and “Browse…” which opens an NSOpenPanel.

--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


References: 
 >How to tell if a file is writable in sandboxed mode? (From: Oleg Krupnov <email@hidden>)
 >Re: How to tell if a file is writable in sandboxed mode? (From: Mike Abdullah <email@hidden>)
 >Re: How to tell if a file is writable in sandboxed mode? (From: Oleg Krupnov <email@hidden>)
 >Re: How to tell if a file is writable in sandboxed mode? (From: Mike Abdullah <email@hidden>)
 >Re: How to tell if a file is writable in sandboxed mode? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: How to tell if a file is writable in sandboxed mode?
  • Next by Date: NSArrayController + NSTableView addObject ends editing
  • Previous by thread: Re: How to tell if a file is writable in sandboxed mode?
  • Next by thread: Re: How to tell if a file is writable in sandboxed mode?
  • Index(es):
    • Date
    • Thread