SAMBA Share folder: GUI says it's not writable but Terminal can write to it
I have a local network drive, which I connect to as a SMB share on my Mac (Ventura). When I open some of the folders of the SMB share through the GUI, it shows the "no writing" icon (crossed out pencil) so I can't add or delete any files or folders. But if I navigate to the same volume & folders through Terminal I can write to the folders. This doesn't make any sense to me.
example: /Volumes/smb_share/my_folder is not writable from the GUI, but is from the Terminal.
but also: /Volumes/smb_share/another_folder IS writable from the GUI.
The SMB share is hosted on a local Linux machine. The 2 folders have the exact same permissions set, as far as I can tell, and I'm logged in as the owner of both of those folders. The Get Info for both folders from my Mac say my user has read & write access for them.
Why can I write to one folder from the terminal but not from the GUI? How can I fix this?