Permission Denied when saving policy


I had a similar problem to the above before and solved it by re-booting server & client, but this time that solution is not working

As mentioned before, my setup is a server on a Ubuntu 22.04 machine connected via Samba.

The smb.conf entry is:
path = XXXXXX
public = yes
writeable = yes
create mask = 0777
directory mask = 0777
browsable = yes
guest ok = yes

All the paths in ‘primary’ are set to 0777. I can’t think of anything else I can do to make the ‘primary’ drive on the server more accessible.

On the client side again I have a Ubuntu 22.04 machine. The client connects to the server using fstab with the following entry:

// /media/primary cifs credentials=/etc/.creds2.txt,vers=3,_netdev 0 0

When I start Kopia client UI it connects the the repository but when I try to save a policy I get the following error:

I’ve run out of things to try. It just won’t write to the remote disk. Any help greatly appreciated.