Skip to content

Commit

Permalink
Adds the config/sync directory if it doesn't already exist and chowns it
Browse files Browse the repository at this point in the history
Adds the correct permissions to the sync directory as well.
  • Loading branch information
Don authored and DonRichards committed Mar 9, 2022
1 parent 504a4fc commit e35e7ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ local: generate-secrets
$(MAKE) install ENVIRONMENT=local
$(MAKE) hydrate ENVIRONMENT=local
$(MAKE) set-files-owner SRC=$(CURDIR)/codebase ENVIROMENT=local
# The - at the beginning is not a typo, it will allow this process to failing the make command.
-docker-compose exec -T drupal with-contenv bash -lc 'mkdir -p /var/www/drupal/config/sync && chmod -R 775 /var/www/drupal/config/sync'
sudo chown -R `id -u`:101 codebase

.PHONY: clean
.SILENT: clean
Expand Down

0 comments on commit e35e7ea

Please sign in to comment.