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 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 
 the permissions on the file itself and the user has read and write accces. 
 We've had them run a shell command to make sure they have write access to 
 their trash directory. None of this helps. I'm stumped.
 
 I've asked the user if they are using a networked home directory, but they 
 say no (I'm not sure they understood the question).
 
 Any clues?
 
 When you say inside the app's sandbox container, where specifically are we 
 talking?
 


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 they might not be able
to create their trash directory.

--Kyle Sluder
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


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 permision to move the file to the trash. I've checked 
 the permissions on the file itself and the user has read and write accces. 
 We've had them run a shell command to make sure they have write access to 
 their trash directory. None of this helps. I'm stumped.
 
 I've asked the user if they are using a networked home directory, but they 
 say no (I'm not sure they understood the question).
 
 Any clues?

When you say inside the app's sandbox container, where specifically are we 
talking?


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com