1 Reply
      Latest reply on Feb 12, 2019 8:17 AM by tartempion
      tartempion Level 1 Level 1 (10 points)

        Problem:

         

        o A basic command line tool with no (__TEXT,__info_plist) section and properly codesigned can be added to the FDA list in the Privacy Pref pane.

         

        Yet this does not let the command line tool access the protected folders.

         

        o The same basic command line tool with a (__TEXT,__info_plist) section and propertly codesigned can be added to the FDA list in the Privacy Pref pane.

         

        Yet this does not let the command line tool access the protected folders.

         

        o A basic Cocoa app (bundle app) with the same code and properly codesigned can be added to the FDA List in the Privacy pref pane.

         

        This works just fine.

         

        Question:

         

        How do you enable Full Disk Access for a command line tool (that is not a helper tool for a bundle app)?

         

         

        Could there be some key-values that are required and missing in the (__TEXT,__info_plist) section?

         

        CFBundleName, CFBundleExecutable were added or removed with no effect, CFBundleIdentifier looks fine as codesign -d -v shows).

         

        The (__TEXT,__info_plist) section does not look bad according to otool -P.