Can't download files from file provider's folder if they are read-only

I face this issue only on macOS 26 and only on the Intel architecture.

I'm unable to download files from a file provider's folder when I make them read-only.

STEPS TO REPRODUCE

  1. Download the sample from https://developer.apple.com/documentation/fileprovider/synchronizing-files-using-file-provider-extensions?language=objc
  2. Follow the steps on the page to configure the project.
  3. Build the project.
  4. Run it.
  5. Add a domain.
  6. Open the domain's folder in the Finder.
  7. Move a file to the domain's folder.
  8. Right-click on the file in the domain's folder and select "Remove Download".
  9. Close the Finder's window with the domain's folder and kill all the "Provider" processes to get rid of running instances of the extension.
  10. Change Item's capabilities in Item.swift to make the items read-only:
var result: NSFileProviderItemCapabilities = [
    .allowsContentEnumerating,
    .allowsReading
]
  1. Rebuild the project and run it.
  2. Open the domain's folder and try to drag and drop the file from the extension's folder to, let's say, the Desktop folder.

EXPECTED RESULT

The file is copied

ACTUAL RESULT

A dialog pops up with text "The file “filename” cannot be downloaded. Do you want to skip it?" Stop/Skip

Just to confirm that this is likely a bug, and thanks for filing the feedback report (FB20864572) for us.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Can't download files from file provider's folder if they are read-only
 
 
Q