Плагин vagrant установить vagrant- aws - PullRequest
0 голосов
/ 17 февраля 2020

У меня есть aws Ubuntu 16.04 ec2-экземпляр, в котором я установил vagrant, теперь я хочу установить плагин aws, чтобы при запуске vagrant plugin установить vagrant- aws на моем компьютере я получил ошибку отказа в разрешении.

/opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:383:in `initialize': Permission denied @ rb_sysopen - /home/ubuntu/.vagrant.d/gems/2.4.9/gems/nokogiri-1.10.8/LICENSE-DEPENDENCIES.md (Errno::EACCES)
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:383:in `open'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:383:in `block (2 levels) in extract_tar_gz'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package/tar_reader.rb:65:in `each'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:365:in `block in extract_tar_gz'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:492:in `block in open_tar_gz'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:489:in `wrap'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:489:in `open_tar_gz'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:364:in `extract_tar_gz'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:345:in `block (2 levels) in extract_files'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package/tar_reader.rb:65:in `each'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:342:in `block in extract_files'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package/file_source.rb:30:in `open'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package/file_source.rb:30:in `with_read_io'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/package.rb:339:in `extract_files'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/installer.rb:801:in `extract_files'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/installer.rb:302:in `install'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/resolver/specification.rb:97:in `install'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/request_set.rb:260:in `block in install_into'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/request_set.rb:252:in `each'
        from /opt/vagrant/embedded/lib/ruby/2.4.0/rubygems/request_set.rb:252:in `install_into'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/bundler.rb:388:in `internal_install'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/bundler.rb:143:in `install'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/plugin/manager.rb:138:in `block in install_plugin'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/plugin/manager.rb:148:in `install_plugin'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/action/install_gem.rb:30:in `call'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builder.rb:116:in `call'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/runner.rb:102:in `block in run'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/util/busy.rb:19:in `busy'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/runner.rb:102:in `run'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/command/base.rb:14:in `action'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/command/install.rb:70:in `block in execute'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/command/install.rb:69:in `each'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/command/install.rb:69:in `execute'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/plugins/commands/plugin/command/root.rb:66:in `execute'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/cli.rb:66:in `execute'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/environment.rb:290:in `cli'
        from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/bin/vagrant:182:in `<main>'
...