Im not sure that you can do what you want to do.
If you link to the config directory then everyone has only one config file. The main one.
For the program to accept multiple config files that will have to be an option of the program. Something along the line of a command-line option when the program is called such as
theprogram.exe -c ~/config
then just give each user their own script to call the program.
OR if the program can accept alternate directorys for config but doesnt recognize ~ give each user a script for
theprogram.exe -c ./config
where the period will specify the directory that the script is run from.
Main Topics
Browse All Topics





by: freesourcePosted on 2000-03-06 at 21:38:44ID: 2590320
Let's say the configuration file is in /etc/config.
ln -s /etc/config ~/config
Just make sure you get the permissions right so that everyone can use the file, and realize if normal users can access the central configuration file in this manner, they also can change the central configuration file if they have write permissions.