Skip to content

Commit

Permalink
UPDATED: Apply permissions recursively to Customizer Project Folder a…
Browse files Browse the repository at this point in the history
…fter git-lfs pull if isRoot
  • Loading branch information
axljuega committed Nov 28, 2023
1 parent bfc89f2 commit 106d65e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/features/customizer/customizer.func.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/core/functions_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 106d65e

Please sign in to comment.