By using the CAA FILE library (FB FILE.Open) (raspberry pi, codesys 220.127.116.11) I always get the error FILE_OPERATION_DENIED
The file exist, it has r/w/x access and path is correct...
Some idea to fix it?
due security reason files could only be accessed in /var/opt/codesys/PlcLogic directory
Hi @eschwellinger Is this new with SP19? Or Hardware based?
security related..since SP19 not hardware based
mmm.. I moved my file to /var/opt/codesys/PlcLogic directory but I still getting FILE_OPERATION_DENIED.. Did I miss something? file rights are 0755
/var/opt/codesys/PlcLogic not work here, again FILE_OPERATION_DENIED. May I simply moved my files in /var/opt/codesys/PlcLogic or need some particular settings?
I have code written since version 3.5.16 to access the USB drive, how can I do that now the file access has been taken away?
I have tried adding a sybolic link to the usb drive in the following directories:
I still recieve a "FILE_OPERATION_DENIED" response when accessing the USB drive.
I am using SP19 patch 2 on a Kunbus device with runtime package 18.104.22.168. I am having the same problem as mentioned above. With the FB File.open I get the FILE_OPERATION_DENIED error. I have also tried the path /var/opt/codesys/PlcLogic. Any advice?
in your project, to access /var/opt/codesys/PlcLogic/my.file, use the string 'my.file' or '$$PlcLogic$$/my.file'
Worked for me, thanks!
Log in to post a comment.