5 Replies
      Latest reply: Apr 18, 2017 1:10 PM by Macho Man Randy Savage RSS
      Macho Man Randy Savage Level 3 Level 3 (355 points)

        Here's a situation:


        I have an app that accepts folders to be dragged to it. You drag a folder in, and the folder gets moved to a directory in my app's sandbox. Now if a folder alias is dragged in instead of the original, my app does not get permission to the original directory contents after resolving the alias. If I try to access the contents of the folder after resolving the alias, I get nothing.

         

        But if I drag in an alias of another type of file, let's say a .txt file, I can resolve the bookmark and access the contents.

         

        So my question is this, is this intended or a bug? If the user gives me a folder alias via an open panel or drag and drop, shouldn't it be assumed that the user is granting me permission to the directory?