This repository was archived by the owner on Aug 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
DDEV install fails, because web folder is owned by root #94
Copy link
Copy link
Closed
Description
I am not sure when this started, I first noticed it a few days ago. Hoping it was an isolated event, which would go away next time, I just chowned web-folder to my user, and ran the command again. But it happened again ...
To reproduce, install Starshot in DDEV with the README method, and see that it fails, since web folder is not writable. Excerpts from the command line:
[...]
- Installing drupal/core (10.3.0-beta1): Extracting archive
Install of drupal/core failed
[...]
Unhandled promise rejection with RuntimeException: /var/www/html/web/core does not exist and could not be created: in phar:///usr/local/bin/composer/src/Composer/Util/Filesystem.php:260
web folder is owned by root:
$ ls
total 560K
-rw-r--r-- 1 user user 6,8K 23 maj 11:53 composer.json
-rw-r--r-- 1 user user 510K 23 maj 11:54 composer.lock
drwxr-xr-x 2 user user 4,0K 23 maj 11:53 drush
drwxr-xr-x 4 user user 4,0K 23 maj 11:53 patches
-rw-r--r-- 1 user user 1,6K 23 maj 11:54 patches.lock.json
-rw-r--r-- 1 user user 2,9K 23 maj 11:53 phpunit.xml
-rw-r--r-- 1 user user 6,4K 23 maj 11:53 README.md
drwxr-xr-x 16 user user 4,0K 23 maj 11:53 recipes
drwxr-xr-x 3 user user 4,0K 23 maj 11:53 tests
drwxr-xr-x 12 user user 4,0K 23 maj 11:54 vendor
drwxr-xr-x 2 root root 4,0K 23 maj 11:54 web
Metadata
Metadata
Assignees
Labels
No labels