Duplicati backup failes for nextcloud

Hi there

I’m using TrueNAS-25.04.2.4 and I’ve installed nextcloud and duplicati as apps.

Both are working quite well (OK, ich have to check nextcloud again…)
Hovever - for “security reasons” (which btw adds minimal security gain, but probably some random nextcloud developer can sleep better now) the access is set to
dr-xrwx— 4 www-data www-data
for the data directory.

If I change this to dr-xrwxr– 4 www-data www-data nextcloud is resetting this to the former value.

As I said - the security gain is insignifcant - but now I have to live with this.

This leads to the Problem that duplicati isnt able to acces this directory.

In the duplicati-app the lowest group-id is 568 (why?) but I need the group-id 33 (for www-data)

I tried to set the ACL-Entries to ID 33 (and read access) - but the id command says uid=3000 gid=3003 groups=3003,568

I also tried to add a Key to the container with

PGID Value 33
Containers Container duplicati

Is there to acheive that the duplicati-user ist member of the group 33?

Thanks