Is it possible for an app to get read and write access to the
/tmp directory to store intermediate and volatile data files?
require:'ing the /tmp directory into my app in the adef file - both as sandboxed and unsandboxed.
I’ve also tried simply creating a file in /tmp as an unsandboxed application.
Nether method wrote to the system /tmp directory - they all seemed to create a tmp directory in the application’s /legato/…/appWritable/application/ directory (same place as bin, dev, lib etc are created.
- is it possible for an app to write to the system /tmp area? If so, how?
- I can’t use the legato created tmp directory as it goes away if the application stops and restarts. Is there any other volatile file storage on the module that an app can write to?