diff --git a/data/features/customizer/customizer.func.sh b/data/features/customizer/customizer.func.sh index a1ed27a4..9454745c 100644 --- a/data/features/customizer/customizer.func.sh +++ b/data/features/customizer/customizer.func.sh @@ -4,6 +4,10 @@ install_customizer_post() ( cd "${CUSTOMIZER_PROJECT_FOLDER}" || return git-lfs pull + + if isRoot; then + apply_permissions_recursively "${CUSTOMIZER_PROJECT_FOLDER}" # /data/features + fi ) } uninstall_customizer_post() diff --git a/src/core/functions_common.sh b/src/core/functions_common.sh index 8988a33c..4fbfb886 100644 --- a/src/core/functions_common.sh +++ b/src/core/functions_common.sh @@ -123,7 +123,7 @@ translate_variables() # - Description: Apply standard permissions and set owner and group to the user who called root. -# - Permissions: This functions can be called as root or user. +# - Permissions: This functions has to be called as root. # - Arguments: # * Argument 1: Path to the file or directory whose permissions are changed. # * Argument 2 (optional): Custom mask of permissions