0

I copied several thousand photos off of a network drive onto my local drive and I'm trying to import them into Photos. Several hundred of them had an "Unknown Error" importing, so I opened Console, tried reimporting one of the failed photos, and found this in the logs:

CreateWithURL:306: *** ERROR: err=1 (Operation not permitted) - could not open /Users/david/Downloads/1980s/1989_April_0001_a.jpg

I'm stumped. I allowed Full Disk Access for Photos in the settings and restarted. I ran chmod 777 on all the photos. I even tried running Photos as sudo. I got the same error every time. I ran DiskUtil diagnostics on the drive and it's not showing any file permissions issues.

Some Googling tells me that this is due to the System Integrity Protection baked into the last few macOS releases, but I still don't understand why Photos wouldn't have the necessary permissions on these files. I'd also like to not disable SIP, but I'm not sure what else to do. Is there anything else I can try?

New contributor
David Merrick is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
5
  • Have you tried opening those files any other way, such as Preview or just a Finder "Quick Look"?
    – Spiff
    Commented 10 hours ago
  • Hey @Spiff, thanks for your response. I have, yeah. They open fine. The strange thing is, I made duplicates of them using the Quick Actions -> Convert Images, and those copies import fine. It makes me think there's some property of the images that SIP is tracking but that's not visible to me. Commented 10 hours ago
  • Also if relevant, I got these off the network drive with a terminal command, but I'm dragging and dropping them into Photos from Finder. Commented 9 hours ago
  • Actually, edit, I tried the Convert Images with a second batch of photos and that didn't work. So I'm not sure what's happening here. Commented 2 hours ago
  • See if stripping extended attributes works - apple.stackexchange.com/q/416592/85275
    – Tetsujin
    Commented 2 hours ago

0

You must log in to answer this question.

Browse other questions tagged .