Disable nexcloud permission change

I freshly installed NextCloud usind snap and integrated the data to the homefolder. Background: I am using ldap and samba as well to access the same files.

Unfortunately, Nextcloud automatically sets the file permissins of my home folder to “drwxrwx—”. The internal users need additional read and execute rights for all users enabled. Otherwise, the system users can’t access their own home folder.

When I change it it works. But after a short time, nextcloud automatically sets the permissions back and locks out the internal users.

I could not find a solution for that problem yet.

I hope you can help me.
Thanks in Advance