Swift FileManager.default.copyItem(at: URL, to: URL) folder permission error
I’m writing a small Mac OS X Desktop application that copies a random sampling of files from a source folder to a destination folder, see https://github.com/belovachap/Select-Random-Files-Mac/blob/main/Select%20Random%20Files/ContentView.swift