I have successfully mounted a samba share (from a Centos server) on my Raspberry Pi, but the share is read-only:
sudo mount -t cifs //ip.address/sharename /mnt/test -o user=username,vers=1.0
I have also (with it unmounted) issued chmod 666 /mnt/test as I found reports that resolved the issue.
I can access the share read/write from Windows machines and linux machines. In fact, using the Raspberry Pi's File manager and putting smb://ip.adddress/sharename in the address bar, I can write to the folder without having it mounted.
I have tried shares on more than one machine and they all mount as read-only.
What have I missed in mounting the share that causes it to be read-only?
(most questions are about why a Raspberry Pi share is read-only. To be clear my issue is not with shares on the Raspberry Pi but accessing shares on other computers).
[Edit] This is the smb.conf on the server that I am trying to connect to:
[User]
comment = User Files
valid users = peter,powerpete,admin
write list = peter,powerpete,admin
path = /mnt/md0/shares/user/