0 Replies
      Latest reply on Aug 14, 2019 9:21 AM by MonkeybreadSoftware
      MonkeybreadSoftware Level 1 Level 1 (0 points)

        Hello,

         

        I am looking for details on requestAuthorizationOfType in NSWorkspace class.

        And NSFileManager fileManagerWithAuthorization function related to it.

         

        Is this supposed to work in any application or is it only for sandbox or only for Mac App Store?

         

        Even without code signing or entitlement, I get the authorization dialog asking for password.

        But I can't make it to work at all when setting file attributes.

         

        This would be nice to replace some deprecated Authentication functions we use.