Cannot access directories over SMB (permissions error)

In the Privacy tab of the Security & Privacy system preference pane, make sure that either:

  1. smbd appears and is checked in the Full Disk Access list, or
  2. smbd appears with Documents Folder checked below it in the Files and Folders list.

If you need to add smbd, it can be found in /usr/sbin.