On the server we are having issues where files and directories created using the shell subprocess commands don't have the correct permissions for the gitbot commit process. Due to this and other issues such as security, we might want to consider going back to a custom in-game implementation of the few shell commands we use, with a correct permissions handling system alongside them.
The permissions we would like on the server would be the following:
home and domain (and potionsand spells) directories would belong to either gitbot or gameserver, in the wizards group, and would be writeable to user and group. Directories would similarly be executable to both user and group.
saved_players files would belong to gameserver out of necessity, but backup_saved_players would only be writeable to gitbot.
Base game files (everything else) would belong to gitbot and be only writeable to user gitbot
On the server we are having issues where files and directories created using the shell subprocess commands don't have the correct permissions for the gitbot commit process. Due to this and other issues such as security, we might want to consider going back to a custom in-game implementation of the few shell commands we use, with a correct permissions handling system alongside them.
The permissions we would like on the server would be the following:
home
anddomain
(andpotions
andspells
) directories would belong to eithergitbot
orgameserver
, in thewizards
group, and would be writeable to user and group. Directories would similarly be executable to both user and group.saved_players
files would belong togameserver
out of necessity, butbackup_saved_players
would only be writeable togitbot
.gitbot
and be only writeable to usergitbot