I can successfully mount the osmc share in linuxmint with the following:
sudo mount -t cifs -o credentials=~/.smbosmc,//192.168.0.xxx/osmc /mnt/osmc
The problem is I can only write to files on the share using root. I have tried to chmod permissions /mnt/osmc but when the share mounts it changes the permissions back to root owner and read only access.
How can I mount the osmc share and have rw access for the user?