On Fri, 27 Jul 2007 13:20:16 -0700 (PDT) "Curt, WE7U" email@example.com wrote:
On Fri, 27 Jul 2007, Keith Roberts wrote:
A standard place to place it would be in /etc, as a text file called yourappname.data, or even under it's own subdirectory, where you could also add a runtime configuration file for your application, called for example, /etc/yourappname/yourapp.conf .
Perhaps stick to the conventions listed in the FHS?
Agreed.. /etc is for configuration files, not data file. If you place a configuration file in /etc, which is appropriate, it could point to where the data file is located.
The other issue I did not mention in my post is how are you going to resolve multi-access issues when more than one user is updating the file. There are a number of locking mechanisms available, such as flock(2).