duanleiliu7373 2016-09-05 07:06
浏览 1077

初始化权限被拒绝@ rb_sysopen - Vagrant Up

I Install Vagrant in my Ubuntu(14.4) System. When i Enter Vagrant Up comment Display following Errors.

/opt/vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/machine_index.rb:321:in `initialize': Permission denied @ rb_sysopen - /home/w3cert/.vagrant.d/data/machine-index/index.lock (Errno::EACCES)
  • 写回答

1条回答 默认 最新

  • doubinchou4219 2016-09-05 07:26
    关注

    Permission denied

    means that the file /home/w3cert/.vagrant.d/data/machine-index/index.lock is owned by another user and your current user has no permission.

    check who is the owner of your file, if you run any install/command with sudo or root then your current user will not have access to modify the file.

    for now you can change the ownership of all .vagrant.d files to your account and you should be able to run the vagrant up command

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器