VL3 UPC 2440 edge file open not working

I am running the new edge pc and the file open function block won’t open a file with error code 1 in the virtual plc. I have run the same code on a 2152 and works great. I have changed the file path and ensured on the Linux ubuntu that file can be read/wrote/accessed.

Hello KiwiLuke,
You are probably running into AppArmor Access Denied issues.
The default AppArmor Profile does not allow for modifiying files in all directories.
See /etc/apparmor/containers/vplcnextcontro.profile for details.
You will have to modify the vplcnextcontrol apparmor profile on your Host system if you wish to interact with files outside of the documented scope of /opt/plcnext/data \ config \ custom \ logs etc.
kind regards,
Oliver

Trying to get through the app amour didn’t work. The file needed to be put in the podman container for the file read to access. Once this was done all good.