From 5e91f44ce78a713c922f37f53c22f7e649834ed1 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sat, 15 Feb 2020 11:53:23 +0100 Subject: [PATCH] fix: [apache/publish-dir] avoid touching permission to aim at macosx support Signed-off-by: Valentin Lab --- apache/lib/common | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apache/lib/common b/apache/lib/common index d96fae4..3cd4bcd 100644 --- a/apache/lib/common +++ b/apache/lib/common @@ -432,8 +432,6 @@ apache_code_dir() { host_path="$DATASTORE/$BASE_SERVICE_NAME${local_path}" mkdir -p "$host_path" || return 1 - setfacl -R -m g:"$www_data_gid":rx "$host_path" || return 1 - info "Set permission for read and traversal on '$host_path'." init-config-add " $SERVICE_NAME: @@ -469,9 +467,7 @@ apache_data_dirs() { dirs+=("$dst/$d") done - mkdir -p "${dirs[@]}" - setfacl -R -m g:"$www_data_gid":rwx "${dirs[@]}" || return 1 - setfacl -R -d -m g:"$www_data_gid":rwx "${dirs[@]}" || return 1 + mkdir -p "${dirs[@]}" || return 1 init-config-add " $SERVICE_NAME: