Cannot access directories over SMB (permissions error)
In the Privacy tab of the Security &amp; Privacy system preference pane, make sure that either:

smbd appears and is checked in the Full Disk Access list, or
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.