Skip to content

Recover access to synchronization folder after #9480

Description

@i2h3

Problem

  • Clients before version 33.0.0 were not inside a macOS app sandbox. They worked with plain folder paths they could freely access in the local file system.
  • The client release 33.0.0 introduced app sandboxing on macOS which requires users to explicitly approve access to folders outside the app sandbox.
  • When a user has classic synchronization folder set up in a client installation below version 33.0.0 and then updates the client, the client suddenly cannot access the previously set up paths anymore.

Solution

  • The client must acquire the bookmark data of security-scoped URLs created from the synchronization folder path(s). This can be achieved to make the user select the root folders in an open file panel once.
  • When a synchronization root folder is missing its bookmark data, then a call to action needs to be presented on the synchronization folder in the settings which tells the user to select the folder in the file system in an open file panel.
  • When the user-selected location does not match the previously set up root folder path, the selection should be ignored.

Remarks

  • This is a release blocker.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions