Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 4ffd60d

Browse files
committed
Fixes #726: Ensure correct permissions when using Composer create-project.
1 parent 7344434 commit 4ffd60d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

provisioning/tasks/build-composer-project.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
---
2+
- name: Ensure drupal_composer_install_dir directory has proper permissions.
3+
file:
4+
path: "{{ drupal_composer_install_dir }}"
5+
state: directory
6+
owner: "{{ drupalvm_user }}"
7+
group: "{{ drupalvm_user }}"
8+
mode: 0775
9+
when: not drupal_site_exists
10+
211
- name: Generate Drupal project with composer package.
312
command: >
413
{{ composer_path }} create-project

0 commit comments

Comments
 (0)