Re: NSWorkspace recycleURLs:completionHandler error -5000 (afpAccessDenied)

2012-12-17 Thread Jon Gary
Containers/MyBundleId/Data/Library/Application Support/MyApp/MyFolderWhereRecycleFails -- Jon Gary / Object Orienteer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/ On Dec 14, 2012, at 6:51 PM, Mike Abdullah wrote: On 14 Dec 2012, at 21:26, Jon Gary wrote: I have a sandboxed

Re: NSWorkspace recycleURLs:completionHandler error -5000 (afpAccessDenied)

2012-12-17 Thread Kyle Sluder
On Mon, Dec 17, 2012, at 07:54 AM, Jon Gary wrote: Containers/MyBundleId/Data/Library/Application Support/MyApp/MyFolderWhereRecycleFails If the file is on a remote volume, the trash directory is actually /Volumes/$REMOTE_VOLUME/.Trashes/$UID. Sounds like the document is on an AFP volume and

NSWorkspace recycleURLs:completionHandler error -5000 (afpAccessDenied)

2012-12-14 Thread Jon Gary
I have a sandboxed app that creates a file in a folder within the app's sandbox container. When the app is done with the file, it is moved to the trash using recycleURLs:completionHandler. A few of our users are reporting the you do not have permision to move the file to the trash. I've checked

Re: NSWorkspace recycleURLs:completionHandler error -5000 (afpAccessDenied)

2012-12-14 Thread Mike Abdullah
On 14 Dec 2012, at 21:26, Jon Gary wrote: I have a sandboxed app that creates a file in a folder within the app's sandbox container. When the app is done with the file, it is moved to the trash using recycleURLs:completionHandler. A few of our users are reporting the you do not have