Skip to content

Commit

Permalink
workflow_run_manager: changes workspace group
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokas Maciulaitis committed Dec 13, 2019
1 parent c9a7955 commit c170ff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reana_workflow_controller/workflow_run_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,9 @@ def _create_job_controller_startup_cmd(self, user=None):
WORKFLOW_RUNTIME_USER_UID,
WORKFLOW_RUNTIME_USER_GID,
user)
chown_workspace_cmd = 'chown -R {} {};'.format(
chown_workspace_cmd = 'chown -R {}:{} {};'.format(
WORKFLOW_RUNTIME_USER_UID,
WORKFLOW_RUNTIME_USER_GID,
SHARED_VOLUME_PATH + '/' + self.workflow.get_workspace()
)
run_app_cmd = 'su {} /bin/bash -c "{}"'.format(user, base_cmd)
Expand Down

0 comments on commit c170ff4

Please sign in to comment.