1
1
I have a program which will be used by two users. It saves it data in $HOME. Is it possible to share the config files (or only one of them - the database) between two users?
My idea was a symlink. The config files have 0644 permissions, though, so only a symlink won't be a solution. If using a symlink is the best solution, what's the optimal permission setup, so that only these two users can have a write access to the config files.
I'm using Linux Mint 17 (Ubuntu derivative)
But they won't write at the same moment. It's one computer, so only one users can perform an action at a time. – marmistrz – 2014-08-31T17:20:41.077
No! One user could be on the computer and the other could be logging in remotely. If you're certain that it will only be shared by users physically logging on the computer then that will decrease the risk considerably. Only you know the details as you haven't written them in your original Question. – garethTheRed – 2014-08-31T17:36:09.220