diff --git a/User-documentation.md b/User-documentation.md index da66077..3e148a9 100644 --- a/User-documentation.md +++ b/User-documentation.md @@ -746,6 +746,12 @@ sandbox limits section is mostly shared between all tasks, it can be set in worker configuration instead of job configuration (suppose this for following tasks). For configuration of workers please contact your administrator. +Please note that working directory inside sandbox is automatically bounded to +the directory with fetched user source codes and therefore you do not have to +bound it by yourself. Also note that directories inside sandbox can be bound to +different paths, so inside sandbox you have to use special paths. For working +directory inside sandbox you can use ${EVAL_DIR} variable. + ```{.yml} - task-id: "compilation" type: "initiation" @@ -760,11 +766,6 @@ tasks). For configuration of workers please contact your administrator. name: "isolate" limits: - hw-group-id: group1 - chdir: ${EVAL_DIR} - bound-directories: - - src: ${SOURCE_DIR} - dst: ${EVAL_DIR} - mode: RW ``` The compiled program is executed with time and memory limit set and the standard @@ -799,11 +800,6 @@ the output length (as long as the printing fits in the time limit). stdout: ${EVAL_DIR}/out.txt limits: - hw-group-id: group1 - chdir: ${EVAL_DIR} - bound-directories: - - src: ${SOURCE_DIR} - dst: ${EVAL_DIR} - mode: RW time: 0.5 memory: 8192 ``` @@ -844,11 +840,6 @@ used. name: "isolate" limits: - hw-group-id: group1 - chdir: ${EVAL_DIR} - bound-directories: - - src: ${SOURCE_DIR} - dst: ${EVAL_DIR} - mode: RW ```