Weird permission error on syncthing

i installed syncthing in a docker container using jailmaker, but when i try to sync data from my windows desktop i get a permission error that to me makes no sens. the syncthing user is the owner of the directory and also has full control in the acl. this only happens when i sync from windows to truenas as when i did a test run from windows to my phone everything worked as expected.