SpecialFolder.ApplicationData on OSX

In terms of sandboxing and RW access to a file, is SpecialFolder.ApplicationData the best location to use for a temporary file my application will need read write access to during its execution? Could I encounter any problems with permissions on a users machine to this location, excluding that the user may have changed permissions themselves.

I would normally, within SpecialFolder.ApplicationData create a sub-folder with the BundleID of my app to use as a working directory, is this the standard way to do things?

the application data folder in a sandboxed app is inside the container for the app, so you can read and write what you want there.

Thanks Christian

In a sandboxed app, you also have access to SpecialFolder.Temporary.

[quote=249704:@Mike Charlesworth]
I would normally, within SpecialFolder.ApplicationData create a sub-folder with the BundleID of my app to use as a working directory, is this the standard way to do things?[/quote]
Yup, that’s the correct way and it will continue to work in a Sandboxed application.

Thanks Sam