Recurring Vagrant error: operation not permitted on action `create` on an NFS resource

后端 未结 3 2020
别那么骄傲
别那么骄傲 2021-01-05 17:09

I have a vagrant box with chef provisioner. Everything works fine except when there are operation on NFS resources. For example, I have the following synced folders:

3条回答
  •  半阙折子戏
    2021-01-05 17:48

    this is more of an important comment than an answer. in my vagrant configuration I 'accidentally (misunderstanding-ly)' ran $ sudo vagrant up before (correctly running $ vagrant destroy dev- this then made some local (host) fileshare changes as # root, when I re-ran $ vagrant up the new couldn't use the folders # root had made"vagrant up" (even though I had no more vm's)

    ^
    |
    hard to explain easy to actually understand
    

    TL;DR if you use sudo with vagrant you need to manually remove/chown residual changes on the host as NOT sudo

提交回复
热议问题