I have a pre-compiled game (Dwarf Fortress) that keeps all of its saves in a specific folder which I cannot change the location of. I want to replace it with a link that points a folder in a user's home directory depending on who is logged in so that one user will not be able to access any other user's saved games.
I have tried using the ln command with no luck. It seems that links are only static.
I tried the commands
ln -s $HOME/save save
ln -s '$HOME/save' save
The first resolves to the current user's home directory and breaks if another user is logged in. In the second the link created was broken. I think it was looking for a folder named $HOME not the system variable.
If you know how to achieve this or even where I might start looking for a solution please let me know.
btw if you like games with a ton of depth and don't mind little-no graphics check out Dwarf Fortress ☺