I am writing a piece of software (C++) which generates Python scripts. Where should these temporarily existing scripts be placed in the file system?
I read a couple pages about the Filesystem Hierarchy Standard, but I didn't find any reference to generated scripts.
/usr/bin does not seem to be a good idea as it might be read-only for certain users. My idea would be to place them under /var/run/my_program.
Is that right/ok? Or what is the "right place"?
Edit: The scripts are only used while the creating programs runs. That means they do not have to live past a reboot.
Aucun commentaire:
Enregistrer un commentaire