{"id":5068,"date":"2025-09-11T17:08:44","date_gmt":"2025-09-11T16:08:44","guid":{"rendered":"https:\/\/desairem.com\/wordpress\/?p=5068"},"modified":"2025-09-11T17:08:59","modified_gmt":"2025-09-11T16:08:59","slug":"synctime-why-do-i-get-operation-not-permitted-when-scanning-library-mail","status":"publish","type":"post","link":"https:\/\/desairem.com\/wordpress\/synctime-why-do-i-get-operation-not-permitted-when-scanning-library-mail\/","title":{"rendered":"Why do I get &#8220;Operation not permitted&#8221; when scanning ~\/Library\/Mail ?"},"content":{"rendered":"\n<p>If you select the <code>~\/Library\/Mail<\/code> directory as a source (where <code>~<\/code> represents your home directory), the sync should run without issues. On the other hand, selecting one of its ancestors, like <code>~\/Library<\/code>, can cause scan errors.<\/p>\n\n\n\n<p>In general, selecting a directory in an open panel grants an app access to all subfiles and subdirectories, but there are some exceptions. An Apple engineer mentions this exact use case on the <a href=\"https:\/\/developer.apple.com\/forums\/thread\/678819\">Apple Developer Forums<\/a>, confirming that selecting <code>~\/Library<\/code> does not automatically grants access to <code>~\/Library\/Mail<\/code>. The solution is to select <code>~\/Library\/Mail<\/code> directly as the source.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you select the ~\/Library\/Mail directory as a source (where ~ represents your home directory), the sync should run without issues. On the other hand, selecting one of its ancestors, like ~\/Library, can cause scan errors. In general, selecting a directory in an open panel grants an app access to all subfiles and subdirectories, but [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"wp-custom-template-sync-time-help-post","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5068","post","type-post","status-publish","format-standard","hentry","category-synctime-help"],"_links":{"self":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/5068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/comments?post=5068"}],"version-history":[{"count":1,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/5068\/revisions"}],"predecessor-version":[{"id":5069,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/5068\/revisions\/5069"}],"wp:attachment":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/media?parent=5068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/categories?post=5068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/tags?post=5068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}