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'). 1) Is /var the correct place ? 2) 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'? |
why don't choose /opt/yourapp, /usr/local/yourapp, this is recommended place if you don't want to use /var.
Ks |
All times are GMT -5. The time now is 01:47 PM. |