{"action":"created","issue":{"url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/40","labels_url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/40/comments","events_url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/40/events","html_url":"https://github.com/NuCivic/ansible-dev-vm/issues/40","id":99071499,"number":40,"title":"Can't delete DKAN webroot from inside VM","user":{"login":"dafeder","id":309671,"avatar_url":"https://avatars.githubusercontent.com/u/309671?v=3","gravatar_id":"","url":"https://api.github.com/users/dafeder","html_url":"https://github.com/dafeder","followers_url":"https://api.github.com/users/dafeder/followers","following_url":"https://api.github.com/users/dafeder/following{/other_user}","gists_url":"https://api.github.com/users/dafeder/gists{/gist_id}","starred_url":"https://api.github.com/users/dafeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafeder/subscriptions","organizations_url":"https://api.github.com/users/dafeder/orgs","repos_url":"https://api.github.com/users/dafeder/repos","events_url":"https://api.github.com/users/dafeder/events{/privacy}","received_events_url":"https://api.github.com/users/dafeder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T22:01:09Z","updated_at":"2015-08-05T04:42:51Z","closed_at":null,"body":"I'm not sure if this is problem with the VM exactly, but deleting the built webroot of a DKAN instance seems to be impossible inside the VM, on both virtualbox and vmware:\r\n\r\n```\r\nvagrant@local:/var/www/dkan$ sudo rm -rf webroot\r\nrm: cannot remove ‘webroot/sites/default/default.settings.php’: Permission denied\r\nrm: cannot remove ‘webroot/sites/default/files’: Permission denied\r\nrm: cannot remove ‘webroot/sites/default/settings.php’: Permission denied\r\nvagrant@local:/var/www/dkan$\r\n```\r\n\r\nI need to `rm` it as sudo from my mac to get rid of it."},"comment":{"url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/comments/127844925","html_url":"https://github.com/NuCivic/ansible-dev-vm/issues/40#issuecomment-127844925","issue_url":"https://api.github.com/repos/NuCivic/ansible-dev-vm/issues/40","id":127844925,"user":{"login":"acouch","id":512243,"avatar_url":"https://avatars.githubusercontent.com/u/512243?v=3","gravatar_id":"","url":"https://api.github.com/users/acouch","html_url":"https://github.com/acouch","followers_url":"https://api.github.com/users/acouch/followers","following_url":"https://api.github.com/users/acouch/following{/other_user}","gists_url":"https://api.github.com/users/acouch/gists{/gist_id}","starred_url":"https://api.github.com/users/acouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acouch/subscriptions","organizations_url":"https://api.github.com/users/acouch/orgs","repos_url":"https://api.github.com/users/acouch/repos","events_url":"https://api.github.com/users/acouch/events{/privacy}","received_events_url":"https://api.github.com/users/acouch/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T04:42:51Z","updated_at":"2015-08-05T04:42:51Z","body":"I think this is a quirk with the NSF mount.\r\n\r\nYou can fix this inside the vm by ``chmod 777 webroot/sites/default``\r\n\r\nNot sure if there is a better solution. "}}