-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Labels
Complexity: LowEnhancementIssue that describes an enhancement to a current feature.Issue that describes an enhancement to a current feature.Impact: High
Description
When Monkey Island starts, it needs to ensure that the data_dir
is available so it can store data at runtime.
-
Fix server_config.json missing from travis. (0d) - @shreyamalviya
-
If no
--server-config
is passed to Monkey Island. (0d) - @shreyamalviya- If the default
data_dir/server_config.json
exists, load it and use it to bootstrap Monkey Island - If the default
data_dir
does not exist:- Create it with secure permissions (0700 on Linux, not readable by any user other than the owner on Windows)
- Copy the default
server_config.json
to the defaultdata_dir
- If the default
data_dir
does exist but does not containserver_config.json
:- Copy the default
server_config.json
to the defaultdata_dir
- Copy the default
- If the default
-
If
--server-config
is passed to Monkey Island. (0d) - @shreyamalviya- Read the server config file. If the
data_dir
does not exist:- Create it with secure permissions (0700 on Linux) (0d)
- Investigate permissions on Windows (0d)
- Create data dir folder on Windows (0d)
- Set permissions and test them for Windows (0d)
- Add function to get default data directory depending on the system (
$HOME/.monkey_island
for Linux,%AppData%/monkey_island
for Windows) (0d) - Test if permissions work on a built installer (opened Update and test new changes on MSI #1179)
- Read the server config file. If the
-
Remove
$DOT_DIR
creation logic fromappimage/run_appimage.sh
(0d) - @shreyamalviya -
PR Review and fixes (0.25d)
Metadata
Metadata
Assignees
Labels
Complexity: LowEnhancementIssue that describes an enhancement to a current feature.Issue that describes an enhancement to a current feature.Impact: High