Unable to read / write : permission denied

Thanks for the answer, George,

In the models given for python scripts, this question was mentioned and for this reason, my configuration contains chroot: "":

# python scripts are not compatible with chroot
chroot: ""
module-config: "validator python iterator"

python:
python-script: "/usr/lib/idefix/unbound-filter.py"

The python script is correctly read, but when it wants to read a file, it is not possible, access denied.

I stopped the apparmor service, but this did not change the situation.

Thanks

Dysmas