Skip to content

Instantly share code, notes, and snippets.

View rotemreiss's full-sized avatar

Rotem Reiss rotemreiss

  • Israel
View GitHub Profile
@rotemreiss
rotemreiss / fix-drupal8-permissions.sh
Last active March 20, 2020 13:31 — forked from GreenSkunk/fix-drupal8-permissions.sh
Drupal - Bash shell script to fix Drupal 8 permissions where the PHP Handler is FastCGI.
#!/bin/bash
path=${1%/}
user=${2}
group=${3}
help="\nThis script is used to fix permissions of a Drupal 8 installation.\nYou need to provide the following arguments:\n\t 1) Path to your drupal installation\n\t 2) Username of the user that you want to give files/directories ownership\n\nUsage: bash ${0##*/} drupal_path user_name\n"
echo "Refer to https://www.Drupal.org/node/244924"