<p>Thanks <a class="user-mention" data-hovercard-user-id="147741" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> for replying!  Regarding the permission issue, I think this is a bug in the Vagrantfile that was introduced by this commit <a class="commit-link" href="https://github.com/openstreetmap/openstreetmap-website/commit/89ba5eab46ae6c2ecb30af538604ed17a13f4994"><tt>89ba5ea</tt></a></p>
<p>The fix seems to be to update the Vagrantfile to:</p>
<pre><code>override.vm.box = "ubuntu/xenial64"
override.vm.synced_folder ".", "/srv/openstreetmap-website",
    owner: "ubuntu", group: "ubuntu"
</code></pre>
<p>Another possible change is to revert the use of the <code>ubuntu</code> user in the <code>provision.sh</code> script.  Would be helpful for <a class="user-mention" data-hovercard-user-id="248188" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Firefishy">@Firefishy</a> to explain why this switch (from use of the <code>vagrant</code> to <code>ubuntu</code>) was made.</p>
<p>The change above gets me past the permission issue and now I'm hitting the rake dependency issue...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1888#issuecomment-393575361">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLf0_C4W-RbfRWJ6vbOrNdbb5EPDKks5t4A_tgaJpZM4UUCNa">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLR3pQI-1Js4OvwFGKwgK07TlSVezks5t4A_tgaJpZM4UUCNa.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/openstreetmap/openstreetmap-website/issues/1888#issuecomment-393575361","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1888#issuecomment-393575361","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mikehwang in #1888: Thanks @tomhughes for replying!  Regarding the permission issue, I think this is a bug in the Vagrantfile that was introduced by this commit https://github.com/openstreetmap/openstreetmap-website/commit/89ba5eab46ae6c2ecb30af538604ed17a13f4994\r\n\r\nThe fix seems to be to update the Vagrantfile to:\r\n\r\n```\r\noverride.vm.box = \"ubuntu/xenial64\"\r\noverride.vm.synced_folder \".\", \"/srv/openstreetmap-website\",\r\n    owner: \"ubuntu\", group: \"ubuntu\"\r\n```\r\n\r\nAnother possible change is to revert the use of the `ubuntu` user in the `provision.sh` script.  Would be helpful for @Firefishy to explain why this switch (from use of the `vagrant` to `ubuntu`) was made.\r\n\r\nThe change above gets me past the permission issue and now I'm hitting the rake dependency issue..."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1888#issuecomment-393575361"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "37567f93-e2a7-4e2a-ad37-a9160fc62647",
"title": "Re: [openstreetmap/openstreetmap-website] vagrant up failing due to permission issue and more (#1888)",
"sections": [
{
"text": "",
"activityTitle": "**Michael Hwang**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@mikehwang",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 1888,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 1888\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/1888#issuecomment-393575361"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 340796250\n}"
}
],
"themeColor": "26292E"
}</script>