Skip to content

Commit

Permalink
Merge pull request #6 from javexed/main
Browse files Browse the repository at this point in the history
Update drupal_fix_permissions.sh
  • Loading branch information
rsanzante authored Jun 17, 2024
2 parents 5d600e3 + d0fa113 commit 81e2d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drupal_fix_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ is_drupal_root() {
# Globals:
# drupal_user: user to own the files and directories.
# httpd_group: group to own the files and directories.
function fix_onwership() {
function fix_ownership() {
case $simulate in
0)
# Real action.
Expand Down Expand Up @@ -456,9 +456,9 @@ printf "\nProcessing Drupal installed on '$complete_drupal_path'"

# First, fix ownership.
printf "\nFixing ownership of files and directories"
fix_onwership "$complete_drupal_path"
fix_ownership "$complete_drupal_path"
echo "$additional_files_paths"| while read path; do
[ -d "$path" ] && fix_onwership "$path"
[ -d "$path" ] && fix_ownership "$path"
done

# Second, fix permissions on code.
Expand Down

0 comments on commit 81e2d02

Please sign in to comment.