|
|
@ -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: |
|
|
|