Skip to content

Commit

Permalink
Merge pull request red-hat-storage#9769 from openshift-cherrypick-rob…
Browse files Browse the repository at this point in the history
…ot/cherry-pick-9761-to-release-4.14

[release-4.14] make sure flexy working directory is writable by group
  • Loading branch information
petr-balogh authored May 7, 2024
2 parents 6052f7f + 8302ce6 commit dff19aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ocs_ci/deployment/flexy.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ def flexy_prepare_work_dir(self):
f"sudo chown -R {constants.FLEXY_USER_LOCAL_UID} {self.flexy_host_dir}"
)
exec_cmd(chown_cmd)
# make sure that flexy_host_dir is writable by group
chmod_cmd = f"sudo chmod g+w {self.flexy_host_dir}"
exec_cmd(chmod_cmd)

def flexy_backup_work_dir(self):
"""
Expand Down

0 comments on commit dff19aa

Please sign in to comment.