Android Files App – SMB share shows up but

My SMB server (running on a raspberry pi using SAMBA as the server software, setup per this guide) shows up normally in the built-in Android file manager (under the “Network neighbourhood” heading). Oddly enough, although various Android apps (AndSMB, Solid Explorer) and my Linux box connect without a problem, the native “Files” app throws this error when I connect to a folder (e.g. public) on the share: “operation failed. you do not have access rights to the folder”. Before being able to select a folder I want to open, it does however say “Connected successfully”, but fails with aforementioned error after selecting a folder.

I tried making the relevant shares writeable and more permissible through editing /etc/samba/smb.conf, but so far without any luck. Other devices keep connecting fine, even with some more specific settings. Does anyone know how to make the Andriod files app and Samba work together? What sort of settings/types of shares would the “Files” app expect?

Some possibly relevant portions of /etc/samba/smb.conf on my server, edits are from basic recs (such as the min server protocol) + the guide linked above, and the rest are just defaults I think:

[global] server min protocol = NT1 ... [public] comment = public storage path = /my/path/ valid users = @users force group = users public = yes writeable = yes browseable = yes read only = no create mask = 0660 directory mask = 0771