Install System-wide in Linux
Posted: Wed Jul 08, 2020 5:51 pm
I have been trying to install Myth2 into /usr/local/games/
as a system wide resource.
This means giving each player their own preferences, saved_games, and recordings.
This is proving difficult to do.
I was getting an error message that the "directory is read-only", and it was not.
It was owned by the mngr, instead of the user, so it could not create the "exclusive use" marker.
I made a script to create a user directory with the preferences, and at least that is working.
But, I have to make a copy of the myth2 binary in the user directory. A link to the binary in /usr/local/games/ will always use the wrong preferences.
I think this needs better individual settings support, such as using a ".myth2" directory in the user home directory for personal settings.
That is unless I have missed something. I don't think that Documentation is complete.
as a system wide resource.
This means giving each player their own preferences, saved_games, and recordings.
This is proving difficult to do.
I was getting an error message that the "directory is read-only", and it was not.
It was owned by the mngr, instead of the user, so it could not create the "exclusive use" marker.
I made a script to create a user directory with the preferences, and at least that is working.
But, I have to make a copy of the myth2 binary in the user directory. A link to the binary in /usr/local/games/ will always use the wrong preferences.
I think this needs better individual settings support, such as using a ".myth2" directory in the user home directory for personal settings.
That is unless I have missed something. I don't think that Documentation is complete.