I have a Legacy C++ apps that I crosscompiled in order to fit them like an app to Legato. My application after running checks if there is a file in some folder and then if there isn’t it creates the the file. This file is essentelly a database or a log file.
What I did is that I created the folder and put it as a bundle in the .adef file, I also gave the [w] permissions to that directory. My app can see that folder and files inside it but it can’t make a new file, it gets error return message which is saying I don’t have permissions to access that file.
What I did, I made a small .sh script which prints debug logs and does “touch my.file” now this script also confirmed that there is an issue when creating new files, because I got the same error.
Long question short:
How do I allow my application to create files in a folder? Because marking the folder with [w] permission tag won’t do that.
I’m working with MangOH Red and SW module WP8548. Running newest legato framework.