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 . Regards Keith On Fri, 27 Jul 2007, opensuse@sky-bizz.com wrote:
To: opensuse-programming@opensuse.org From: opensuse@sky-bizz.com Subject: [opensuse-programming] Where to save "global" data files from application
Hello
[at first: i am not new to developing software, but i am slightly new to developing linux-software :)]
i'm just developing an command line tool for linux (c++), which has to save its data into a single file in the filesystem, undependently from running user. its handling is best described like or compared with "updatedb". there is only one data-file for all users.
in which folder should i create the application's data-file, and whats about the needed rights on it? can this application "ask" for getting needed privileges like on windows?
is there a special folder intended for handling such things? if yes, what folder?
kind regards for any help hagen
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org
-- ------------------------------------------------------------ http://www.karsites.net http://www.raised-from-the-dead.org.uk This email address is challenge-response protected with http://www.tmda.net ------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org