Indeed, your answer was fairly clear (and I obviously did not re-read it this morning, or I would have pointed at it).
That's precisely the solution I was referring to in my post above:That stack exchange post is not a perfect solution as all it does is change owner and group from root:root to user:user'sgroup. Other client side users will still be unable to write to the share.You're dealing with two sets of permissions: what is set on the server (windows box) and what the Linux client sees.
CIFS/SMB doesn't do Linux style owner, group, and permissions. The Linux driver fakes them at mount time.
Your mount command doesn't set a local user, group, or permissions so as far as the Pi is concerned everything on the windows box will have an owner of root, a group of root, and, probably, 755 (rwxr-xr-x)permissions. That means only root can write to the server assuming permissions on Windows allow writing at all.
I was rather hoping the OP would have read the man page for mount.cifs. I pointed them at. Guess not. You can lead a horse to water but you can't make it drink.
It seems that there are a lot of folks showing up in the forums who only accept and operate on explicit responses. IOW a response that tells them to go read some stuff and figure it out for themselves often doesn't fly. Another aspect of the "please google this for me" generation.
Statistics: Posted by bls — Tue Dec 31, 2024 5:00 pm