owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 663 forks source link

Mac .photoslibrary file breaks sync #7278

Open JetUni opened 5 years ago

JetUni commented 5 years ago

Expected behaviour

Sync should happen as normal

Actual behaviour

Sync breaks saying Permission denied for folder

Steps to reproduce

  1. On Mac, setup sync in User Pictures folder
  2. Open Photos app for the first time
  3. Accept photo album share from another person
  4. Photos download from the share, creating a "Photos Library.photoslibrary" file
  5. Sync breaks

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache

Database: MySQL

PHP version: 7.2.19

ownCloud version: 10.2.0

Storage backend (external storage): On disk

Client configuration

Client version: 2.5.4

Operating system: OSX 10.14.5

OS language: English

Installation path of client: Applications

EasyNT commented 5 years ago

+1, same issue here, when syncing two Macs with Photos Libraries, the Mac which receives the Folder says Permission denied for that folder. I'd say this is a client issue. Mac Client 2.5.4 (build 11456).

EasyNT commented 5 years ago

Found the issue: macOS Mojave has a new security feature, apps who want access to Photos need special permissions and should ask for it: https://www.howtogeek.com/361707/how-macos-mojaves-privacy-protection-works/

EasyNT commented 5 years ago

Found the solution: You can add the ownCloud client to System Prefs/Security & Privacy/Privacy/Full Disk Access and the issue is gone.