Mount SMB share via CLI gives no write permission

I found the solution:

I had to add “uid=linuxuser” to the options, that way my local user gets write permissions to the mounted share. If I don’t add that, only root has write access.

sudo mount -t cifs -o uid=linuxuser,username=sambauser //192.168.x.x/share /mnt/folder/