{"action":"created","issue":{"url":"https://api.github.com/repos/tailhook/vagga/issues/56","labels_url":"https://api.github.com/repos/tailhook/vagga/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/tailhook/vagga/issues/56/comments","events_url":"https://api.github.com/repos/tailhook/vagga/issues/56/events","html_url":"https://github.com/tailhook/vagga/issues/56","id":104793869,"number":56,"title":"Vagrant errors","user":{"login":"kismet010","id":814622,"avatar_url":"https://avatars.githubusercontent.com/u/814622?v=3","gravatar_id":"","url":"https://api.github.com/users/kismet010","html_url":"https://github.com/kismet010","followers_url":"https://api.github.com/users/kismet010/followers","following_url":"https://api.github.com/users/kismet010/following{/other_user}","gists_url":"https://api.github.com/users/kismet010/gists{/gist_id}","starred_url":"https://api.github.com/users/kismet010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kismet010/subscriptions","organizations_url":"https://api.github.com/users/kismet010/orgs","repos_url":"https://api.github.com/users/kismet010/repos","events_url":"https://api.github.com/users/kismet010/events{/privacy}","received_events_url":"https://api.github.com/users/kismet010/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-03T22:29:36Z","updated_at":"2015-09-07T22:01:25Z","closed_at":null,"body":"Getting errors running on Vagrant OSX\r\n\r\nWithout sudo:\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:/var/project$ ./vagga/bin/vagga _build server\r\nERROR:vagga::container::monitor: Can't run container vagga_wrapper: Error writing uid_map: No such file or directory (os error 2)\r\nBuild returned 127\r\n```\r\n\r\nWith sudo:\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:/var/project$ sudo ./vagga/bin/vagga _build server\r\nConnecting to cdimage.ubuntu.com (91.189.92.164:80)\r\n0e78368d-trusty-core 100% |*****************************************| 64239k  0:00:00 ETA\r\ntar: can't create hardlink from bin/gunzip to bin/uncompress: Operation not permitted\r\ntar: can't create hardlink from bin/bzip2 to bin/bzcat: Operation not permitted\r\ntar: can't create hardlink from bin/bunzip2 to bin/bzcat: Operation not permitted\r\ntar: can't create hardlink from sbin/agetty to sbin/getty: Operation not permitted\r\ntar: can't create hardlink from usr/share/man/man8/agetty.8.gz to usr/share/man/man8/getty.8.gz: Operation not permitted\r\ntar: can't create hardlink from usr/bin/perl to usr/bin/perl5.18.2: Operation not permitted\r\ntar: can't create hardlink from usr/bin/psed to usr/bin/s2p: Operation not permitted\r\ntar: can't create hardlink from usr/bin/lockfile-check to usr/bin/lockfile-create: Operation not permitted\r\ntar: can't create hardlink from usr/bin/lockfile-remove to usr/bin/lockfile-create: Operation not permitted\r\ntar: can't create hardlink from usr/bin/python3.4m to usr/bin/python3.4: Operation not permitted\r\ntar: can't create hardlink from usr/bin/pstruct to usr/bin/c2ph: Operation not permitted\r\ntar: can't create hardlink from usr/bin/mail-touchlock to usr/bin/mail-lock: Operation not permitted\r\ntar: can't create hardlink from usr/bin/perlthanks to usr/bin/perlbug: Operation not permitted\r\ntar: can't create hardlink from usr/bin/mail-unlock to usr/bin/mail-lock: Operation not permitted\r\ntar: can't create hardlink from usr/bin/lockfile-touch to usr/bin/lockfile-create: Operation not permitted\r\nERROR:vagga::builder: Error building container \"server\": Error copying /etc/resolv.conf: Operation not permitted (os error 1)\r\nERROR:vagga::wrapper: Error executing _build: Builder exited with code 1\r\nBuild returned 124\r\n```\r\n\r\n\r\n**#53 Workaround**\r\n\r\nVagrantfile\r\n```\r\nconfig.vm.synced_folder \".\", \"/var/project\", :mount_options => [\"dmode=777\",\"fmode=777\"]\r\nconfig.vm.provision :shell, path: \"vagrant_provision.sh\"\r\n\r\n```\r\nvagrant_provision.sh\r\n```\r\nmkdir /var/vagga\r\nmount --bind /var/vagga /var/project/.vagga\r\n```"},"comment":{"url":"https://api.github.com/repos/tailhook/vagga/issues/comments/138383872","html_url":"https://github.com/tailhook/vagga/issues/56#issuecomment-138383872","issue_url":"https://api.github.com/repos/tailhook/vagga/issues/56","id":138383872,"user":{"login":"tailhook","id":321799,"avatar_url":"https://avatars.githubusercontent.com/u/321799?v=3","gravatar_id":"","url":"https://api.github.com/users/tailhook","html_url":"https://github.com/tailhook","followers_url":"https://api.github.com/users/tailhook/followers","following_url":"https://api.github.com/users/tailhook/following{/other_user}","gists_url":"https://api.github.com/users/tailhook/gists{/gist_id}","starred_url":"https://api.github.com/users/tailhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tailhook/subscriptions","organizations_url":"https://api.github.com/users/tailhook/orgs","repos_url":"https://api.github.com/users/tailhook/repos","events_url":"https://api.github.com/users/tailhook/events{/privacy}","received_events_url":"https://api.github.com/users/tailhook/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T22:01:25Z","updated_at":"2015-09-07T22:01:25Z","body":"Should this issue be closed now?"}}