{"action":"created","issue":{"url":"https://api.github.com/repos/lando/lando/issues/493","repository_url":"https://api.github.com/repos/lando/lando","labels_url":"https://api.github.com/repos/lando/lando/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/lando/lando/issues/493/comments","events_url":"https://api.github.com/repos/lando/lando/issues/493/events","html_url":"https://github.com/lando/lando/issues/493","id":273686385,"number":493,"title":"Lando start ... could not create Drush or composer.json ... Permission Denied","user":{"login":"GreenSkunk","id":565512,"avatar_url":"https://avatars3.githubusercontent.com/u/565512?v=4","gravatar_id":"","url":"https://api.github.com/users/GreenSkunk","html_url":"https://github.com/GreenSkunk","followers_url":"https://api.github.com/users/GreenSkunk/followers","following_url":"https://api.github.com/users/GreenSkunk/following{/other_user}","gists_url":"https://api.github.com/users/GreenSkunk/gists{/gist_id}","starred_url":"https://api.github.com/users/GreenSkunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreenSkunk/subscriptions","organizations_url":"https://api.github.com/users/GreenSkunk/orgs","repos_url":"https://api.github.com/users/GreenSkunk/repos","events_url":"https://api.github.com/users/GreenSkunk/events{/privacy}","received_events_url":"https://api.github.com/users/GreenSkunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-14T06:57:18Z","updated_at":"2017-11-16T03:12:03Z","closed_at":null,"author_association":"NONE","body":"Starting Lando app for the first time after initializing drupal8 recipe results in permission denied when creating files. Running the \"lando start\" command again works fine.\r\n```bash\r\n~/sites/drupal-8$ lando init --recipe drupal8\r\n? Where is your webroot relative to the init destination? web\r\n? What do you want to call this app? drupal-8-migrate\r\n\r\nNOW WE'RE COOKING WITH FIRE!!!\r\n\r\nYour app has been initialized.\r\nNow try running `lando start` to get rolling.\r\n\r\nHere are some vitals:\r\n\r\n NAME    drupal-8-migrate                                    \r\n RECIPE  drupal8                                             \r\n DOCS    https://docs.devwithlando.io/tutorials/drupal8.html \r\n```\r\nWhat is your lando version and operating system?\r\nv3.0.0-beta.22 on Elementary OS 0.4.1 Loki (Ubuntu 16.04.3 LTS)\r\n\r\n**Tell us about your `.lando.yml`**\r\nDrupal8 recipe\r\n*First time running*\r\n```bash\r\n~/sites/drupal-8$ lando start\r\nCreating network \"landoproxyhyperion5000gandalfedition_edge\" with driver \"bridge\"\r\nPulling proxy (traefik:1.3-alpine)...\r\nCreating landoproxyhyperion5000gandalfedition_proxy_1 ... \r\nCreating landoproxyhyperion5000gandalfedition_proxy_1 ... done\r\nCreating network \"drupal8migrate_default\" with the default driver\r\nCreating volume \"drupal8migrate_appserver\" with default driver\r\nCreating volume \"drupal8migrate_data\" with default driver\r\nCreating volume \"drupal8migrate_data_database\" with default driver\r\nPulling appserver (devwithlando/php:7.1-apache)...\r\nPulling database (mysql:latest)...\r\nCreating drupal8migrate_database_1 ... \r\nCreating drupal8migrate_appserver_1 ... \r\nCreating drupal8migrate_appserver_1\r\nCreating drupal8migrate_database_1 ... done\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 5988k  100 5988k    0     0  2234k      0  0:00:02  0:00:02 --:--:-- 2234k\r\n PHP configuration      :  /usr/local/etc/php/php.ini \r\n PHP OS                 :  Linux                      \r\n Drush script           :  /tmp/drush.phar            \r\n Drush version          :  8.1.13                     \r\n Drush temp directory   :  /tmp                       \r\n Drush configuration    :                             \r\n Drush alias files      :                             \r\n\r\nmv: cannot create regular file '/usr/local/bin/drush': Permission denied\r\nChanged current directory to /var/www/.composer\r\n\r\n                                                                                \r\n  [ErrorException]                                                              \r\n  file_put_contents(./composer.json): failed to open stream: Permission denied  \r\n                                                                                \r\n\r\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...\r\n\r\nerror:  message=  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 5988k  100 5988k    0     0  2234k      0  0:00:02  0:00:02 --:--:-- 2234k\r\n PHP configuration      :  /usr/local/etc/php/php.ini \r\n PHP OS                 :  Linux                      \r\n Drush script           :  /tmp/drush.phar            \r\n Drush version          :  8.1.13                     \r\n Drush temp directory   :  /tmp                       \r\n Drush configuration    :                             \r\n Drush alias files      :                             \r\n\r\nmv: cannot create regular file '/usr/local/bin/drush': Permission denied\r\nChanged current directory to /var/www/.composer\r\n\r\n                                                                                \r\n  [ErrorException]                                                              \r\n  file_put_contents(./composer.json): failed to open stream: Permission denied  \r\n                                                                                \r\n\r\nrequire [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...\r\n\r\n, code=1\r\n```\r\n*Second time ... this time ... verbose*\r\n```bash\r\nlando start -vvvv\r\nlandoproxyhyperion5000gandalfedition_proxy_1 is up-to-date\r\ndrupal8migrate_appserver_1 is up-to-date\r\ndrupal8migrate_database_1 is up-to-date\r\n\r\nBOOMSHAKALAKA!!!\r\n\r\nYour app has started up correctly.\r\nHere are some vitals:\r\n\r\n NAME            drupal-8-migrate                   \r\n LOCATION        /home/jeremy/sites/drupal-8        \r\n SERVICES        appserver, database                \r\n                                                    \r\n APPSERVER URLS  https://localhost:32769            \r\n                 http://localhost:32770             \r\n                 http://drupal-8-migrate.lndo.site  \r\n                 https://drupal-8-migrate.lndo.site \r\n```"},"comment":{"url":"https://api.github.com/repos/lando/lando/issues/comments/344802403","html_url":"https://github.com/lando/lando/issues/493#issuecomment-344802403","issue_url":"https://api.github.com/repos/lando/lando/issues/493","id":344802403,"user":{"login":"franciscoDeskmultimedia","id":32280492,"avatar_url":"https://avatars3.githubusercontent.com/u/32280492?v=4","gravatar_id":"","url":"https://api.github.com/users/franciscoDeskmultimedia","html_url":"https://github.com/franciscoDeskmultimedia","followers_url":"https://api.github.com/users/franciscoDeskmultimedia/followers","following_url":"https://api.github.com/users/franciscoDeskmultimedia/following{/other_user}","gists_url":"https://api.github.com/users/franciscoDeskmultimedia/gists{/gist_id}","starred_url":"https://api.github.com/users/franciscoDeskmultimedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciscoDeskmultimedia/subscriptions","organizations_url":"https://api.github.com/users/franciscoDeskmultimedia/orgs","repos_url":"https://api.github.com/users/franciscoDeskmultimedia/repos","events_url":"https://api.github.com/users/franciscoDeskmultimedia/events{/privacy}","received_events_url":"https://api.github.com/users/franciscoDeskmultimedia/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T03:12:03Z","updated_at":"2017-11-16T03:12:03Z","author_association":"NONE","body":"someone have any work arround for this. ?? i even try to add drush in a lamp recipe but have the same error:\r\n\r\n> mv: cannot create regular file '/usr/local/bin/drush': Permission denied\r\n> Changed current directory to /var/www/.composer"}}
{"actor":{"display_login":"franciscoDeskmultimedia"}}