{"id":32670,"date":"2021-06-01T17:02:02","date_gmt":"2021-06-01T21:02:02","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=32670"},"modified":"2021-06-02T16:47:19","modified_gmt":"2021-06-02T20:47:19","slug":"macos-11-4-breaks-full-disk-access-for-helper-tools","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/06\/01\/macos-11-4-breaks-full-disk-access-for-helper-tools\/","title":{"rendered":"macOS 11.4 Breaks Full Disk Access for Helper Tools"},"content":{"rendered":"<p><a href=\"https:\/\/developer.apple.com\/forums\/thread\/679979\">Jerry Krinock<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/forums\/thread\/679979\">\n<p>I have been going through hell trying to maintain Full Disk Access for my apps&rsquo; background agents. I think something has changed with Full Disk Access[&#8230;]<\/p>\n<p>[&#8230;]<\/p>\n<p>Before Full Disk Access became a thing in macOS 10.15, my apps&rsquo; background agent was a command-line tool, shipped within my apps&rsquo; bundle, and launched intermittently by launchd tasks. Testing in early betas of 10.15, I could not find any way for a command-line tool to get Full Disk Access. (This may have been fixed in later versions.) Copying the design I saw in another app (Arq Backup) which had a working background agent, I spent several months replacing my command line tool with a Service Management Login Item which runs constantly.<\/p>\n<\/blockquote>\n\n<p>webjib:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/forums\/thread\/679979\"><p>Before updating to 11.4, if user granted Full Disk Access to the main app, the Helper Tool got Full Disk Access too, as stated <a href=\"https:\/\/developer.apple.com\/forums\/thread\/107546\">here<\/a> by eskimo.<\/p>\n<p>But now, it&rsquo;s not working anymore. The Helper Tool doe not inherit from the main app, either the Full Disk Access but also the authorisations like Automation for Finder.<\/p><\/blockquote>\n\n<p>It remains frustrating how it&rsquo;s mostly not documented how TCC is suppposed to work. And how, even when you figure it out, it seems to randomly fail on certain Macs until macOS is reinstalled and\/or you disable SIP and delete the database.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/05\/24\/macos-11-4\/\">macOS 11.4<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Jerry Krinock: I have been going through hell trying to maintain Full Disk Access for my apps&rsquo; background agents. I think something has changed with Full Disk Access[&#8230;] [&#8230;] Before Full Disk Access became a thing in macOS 10.15, my apps&rsquo; background agent was a command-line tool, shipped within my apps&rsquo; bundle, and launched intermittently [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-06-01T21:02:05Z","apple_news_api_id":"ff44118b-f047-4fee-9d3a-23e8a0b4b81d","apple_news_api_modified_at":"2021-06-02T20:47:23Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/A_0QRi_BHT-6dOiPooLS4HQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[131,500,30,1891,71,1960],"class_list":["post-32670","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-bug","tag-launchd","tag-mac","tag-macos-11-0","tag-programming","tag-transparency-consent-and-control-tcc"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=32670"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32670\/revisions"}],"predecessor-version":[{"id":32671,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32670\/revisions\/32671"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=32670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=32670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=32670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}