Skip to content

permissions/drupal-permissions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Drupal Permissions

A bash script to help set Drupal permission correctly. Please do not use blindly, read the code first. Based from script found on Drupal.org.

This script is used to fix permissions of a Drupal installation you need to provide the following arguments:

  1. Path to your Drupal installation.
  2. Username of the user that you want to give files/directories ownership.
  3. HTTPD group name (defaults to www-data for Apache).

Usage:

	(sudo) bash drupal-permissions.sh DRUPAL_PATH DRUPAL_USER [HTTPD_GROUP]

Examples:

	(sudo) bash drupal-permissions.sh . john
	(sudo) bash drupal-permissions.sh . john www-data

About

A bash script to help set Drupal permission correctly. Please do not use blindly, read the code first.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%