Mojave: does Home folders access really need “Full

2019-09-04 15:36发布

问题:

Our cross-platform app needs to change the location of some default user entries: Documents, Pictures, Music, Videos. On Windows we achieve this goal using existing API (IKnownFolderManager). On macOS, we changed these default locations to shortcuts (the way others did it to use directly their DropBox or Google Drive: see this question). Mojave does not allow this technique anymore, at least for Pictures (it fails with EPERM), but there is a new Full Disk Access entitlement and an entry in System Preferences / Security & Privacy / Privacy / Full Disk Access where apps can be added.

My questions are:

  1. Is there an alternate solution to "Full Disk Access" to achieve the same goal (like a more limited entitlement maybe) ?
  2. Apparently, there's no default alert for this entitlement, unlike all the others ("Unfortunately, Apple has intentionally designed the process of granting Full Disk Access to be difficult, so that users are discouraged from granting Full Disk Access unless absolutely necessary.", seen here). Is that true?