-
-
Notifications
You must be signed in to change notification settings - Fork 645
Fix composer create-project setup 'mkdir permission denied' #726
Comments
Testing a fix. |
Now on another Mac I'm getting:
|
Is it failing because of the non-existent user? can we just bypass the |
Maybe so. But the strange thing is, I haven't seen others encounter the root problem before, only me. So maybe it's just a local environment issue? |
Seems to be the case, not even
|
FYI, I'm trying a BLT install on a Linux host and am seeing an issue with ownership that I haven't characterized yet but given this discussion thought I'd note. |
I'm rebuilding a couple times with fresh installs, completely emptying the parent directory, to see if I can reproduce this issue. |
I can't get this to happen again... I'm thinking I close this out and if someone else hits something similar, we'll deal with it in that issue. |
@geerlingguy before you reverted I think this could be reproduced by having the directory, but not having the site installed yet. As root user doesn't have any special permissions on nfs mounts the |
I am also having a challenge here after trying twice. I am using the defaults. TASK [Generate Drupal project with composer package.] ************************** PLAY RECAP ********************************************************************* Ansible failed to complete successfully. Any error output should be |
working well now |
I am also unable to complete the default install of drupalvm. Composer/vagrant versions:
After
|
The mistake i was making was cloning the example.drupal.composer.json and example.drupal.make.yml. when i only use the drupal.make.yml that was when it worked
|
What are the versions you are using, especially the ansible version? 2.0.0.2 via Homebrew does work |
@vinmassaro - the most recent Drupal VM updates should fix the problem you saw. And @rpsu - same thing, please try using 3.1.2 and see if that resolves the issue. |
I am using ansible 2.1.0.0 from home-brew
|
When I When I
It seems that the issue is who owns the directory when the composer install occurs. I'm using standard default config, any ideas? |
@bhasselbeck - If you delete the |
@geerlingguy I was able to get it to work by switching to However, starting fresh, I've cloned the repo and did a
After the failure, I checked, there isn't a |
It's entirely possible my users / permissions on this machine are wonked... |
I also faced this issue with drupalvm 3.1.2, and ansible 2.1.0.0 on OS X Yosemite 10.10.5 I was able to get the site installed by doing this:
but the NFS share still isn't working as expected |
@bhasselbeck and @malcomio - Are both of you running Vagrant 1.8.4 as well? Maybe it's a version thing :/ |
yes, I needed to upgrade to vagrant 1.8.4 in order to get drupalvm 3 running since upgrading, NFS shares aren't working on my other vagrant boxes either, which I need to investigate further... |
@geerlingguy I upgraded vagrant as well before going through the install.
Let me revert back before the commit |
Reverted back, and the same issue occurs. |
@malcomio following your convention on your workaround above. However, how is NFS still not working as expected for you? |
@geerlingguy: still seeing this issue with latest drupalvm (master). The workaround from @malcomio is working for me as well. |
@vinmassaro - This fix (4ffd60d) did basically the same thing internally, but would fail in some cases. Maybe we could add it back in, but add a |
Same issue. Vagrant 1.8.1. Fix from malcomio worked for me too. |
I've added |
@geerlingguy @vinmassaro I've confirmed that when I update VirtualBox to Version 5.0.24 r108355, the issue goes away. |
I'll be updating my VirtualBox Vagrant box images soon (maybe today/tomorrow) with 5.0.24 so the base boxes are set up for that version as well; though if you just upgrade your VirtualBox version (with or without the guestsupdater plugin), I think that should take care of it for anyone still having issues with Vagrant 1.8.4 and Drupal VM 3.1.3 (released today). |
Seems to be working well with upgraded VirtualBox, Vagrant, and Drupal VM 3.1.3. |
Same Problem on Debian $ composer create-project --repository=https://repo.magento.com/ magento/project-community-edition magento2 [ErrorException] create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] [] |
Same Problem
|
Whenever I
vagrant up
now, I get the following failure:So, it looks like we need to set the directory permissions correctly on the composer install dir when using composer create-project.
The text was updated successfully, but these errors were encountered: