Logging/Data; where to store
Till now, my apps wrote files in the user's directory. For a new app, I need to store a data file somewhere where all users of a system can create, read and update a file.
/var seems to be the correct place, but I'm not sure how to go about it (with regards to 'standards').
Is /var the correct place ?
Any specific subdirectory? The data in the file can either be seen as data or as log information. From that, either /var/lib/myapp/myfile or /var/log/myapp/myfile seem to be feasable. Or is there another one with regards to 'standards'?