Community Documentation

Command Line Tips for Starter Kits

Last updated December 13, 2012. Created by jdcreativity on December 13, 2012.
Log in to edit this page.

Using the Command Line to install or upgrade the Starterkit may require you to take an extra step to change and reset permissions on the sites folder and settings.php file.

DURING DRUPAL INSTALLATION:

sudo chown -R www-data sites
(gives you permission to set the permissions on the sites/default files)
sudo chgrp -R webdev sites
(makes the webdev group have write access)
sudo chmod -R 775 sites
(changes permissions back after install)

For Mac users - Command Line tools can be found here: ss64.com/osx/

Page status

About this page

Drupal version
Drupal 7.x
Audience
Site administrators
Level
Advanced
Keywords
command line
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.