Skip to content

Commit

Permalink
fix(syntax):missing trailing forward slash which caused restorecon to…
Browse files Browse the repository at this point in the history
… not run.
  • Loading branch information
finalhow committed Jul 30, 2020
1 parent 3b71670 commit ffc8d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/drupal-fix-permissions.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fi
# Restore SELinux modes for all directories.
command_exists restorecon && \
printf "Restoring SeLinux file contexts, please wait...\n" && \
restorecon -RF ${drupal_path}/..
restorecon -RF ${drupal_path}/../

printf "Changing ownership of all contents of "${drupal_path}":\n user => "${drupal_user}" \t group => "${httpd_group}"\n" && \
chown -R ${drupal_user}:${httpd_group} . &
Expand Down

0 comments on commit ffc8d3d

Please sign in to comment.