Skip to content

Vagrantfile permissions #68

@danieljaouen

Description

@danieljaouen

The current Vagrantfile mounts /vagrant with owner and group vagrant. However, asdf (as well as other .bashrc customizations) is installed to the ubuntu user. It therefore seems to be intended that /vagrant/precheck and /vagrant/app/app_up are run as the ubuntu user. However, due to the Vagrant permissions, some steps (including building the nodejs assets) cannot write to the /vagrant folder. I've fixed this in my fork by mounting /vagrant with owner and group ubuntu. However, I'm not sure if this will break things on your end, so I leave it up to you to review the pull request before merging.

Actual Behavior

/vagrant/precheck fails to build nodejs assets.

Expected Behavior

/vagrant/precheck successfully builds nodejs assets.

Steps to Reproduce

  1. Run /vagrant/precheck as ubuntu user.
  2. Wait for nodejs build error.

Relevant Specifications (OS, Hardware, etc.)

  • macOS High Sierra
  • Vagrant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions