From 44dea690d5904463551a2b240d06a7f049f8b588 Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Mon, 12 Sep 2022 13:10:55 +0100 Subject: [PATCH] communishift: fix filesystem permissions on efs storage mount Signed-off-by: David Kirwan Signed-off-by: Lenka Segura Signed-off-by: Patrik Polakovic --- .../communishift/library/communishift_storage_efs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/communishift/library/communishift_storage_efs.py b/roles/communishift/library/communishift_storage_efs.py index 14aab3411a..081d15275a 100644 --- a/roles/communishift/library/communishift_storage_efs.py +++ b/roles/communishift/library/communishift_storage_efs.py @@ -132,15 +132,15 @@ def run_module(): {"Key": "Name", "Value": module.params["project_name"]}, ], FileSystemId=module.params["aws_efs_filesystem_id"], -# PosixUser={ -# "Uid": 50000, -# "Gid": 50000, -# }, + PosixUser={ + "Uid": 1001, + "Gid": 1001, + }, RootDirectory={ "Path": "/", "CreationInfo": { - "OwnerUid": 1001, - "OwnerGid": 1001, + "OwnerUid": 0, + "OwnerGid": 0, "Permissions": "777", }, },