0

I am trying to download Drupal using drush. I want to download it on my local apache server /Library/WebServer/Documents/localsite. I am running on OS X El Capitan.

I set all directiries to 755 permission only / (root folder - macintosh hd) not.

when I run:

drush dl drupal-7.x

I get this error: Directory / exists, but is not writable. Please check directory permissions. [error] Project drupal (7.x-dev) could not be downloaded to //drupal-7.x-dev.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Denis Milosavljevic
  • 365
  • 4
  • 8
  • 17
  • download it in other folder and move files with mv command line into your wanted folder – Fky Jan 10 '17 at 15:33

1 Answers1

0

It looks like you are trying to download the site files into your root directory Directory / exists, but is not writable. Please check directory permissions., that / usually means root directory.

Try cd /Library/WebServer/Documents/localsite then drush dl drupal-7.x.

Also, I'm not clear what this means "I set all directiries to 755 permission only / (root folder - macintosh hd) not." But I don't think setting all file permissions from root on down is a great idea.

icicleking
  • 1,029
  • 14
  • 38