I cannot get the desktop client sync on ubuntu 24.04.1

I have installed my own nextcloud server and that is working fine. And then i installed the Nextcluod client for Ubuntu using the Appcenter. Installation went well, but I can’t get syncing. I claims that I do not have write access to my home folder, which is not correct. There are lots of help regarding this but it’s all about Windows, and I am running Ubuntu 24.04.1.
How to solve this.
I have made screen shots of the problem. I have tried also to make an exception, but it given the same answer “No rights for writing”
Screenshots:



I hope someone has a clou about solving this.

Am I posting this in the wrong place? Or doesn’t anyone have a clou about how to solve this?