{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/1708","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/1708/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/1708/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/1708/events","html_url":"https://github.com/mitchellh/packer/issues/1708","id":50485520,"number":1708,"title":"Provisioner scripts permissions should not be 0777","user":{"login":"dwagon","id":1617038,"avatar_url":"https://avatars.githubusercontent.com/u/1617038?v=3","gravatar_id":"","url":"https://api.github.com/users/dwagon","html_url":"https://github.com/dwagon","followers_url":"https://api.github.com/users/dwagon/followers","following_url":"https://api.github.com/users/dwagon/following{/other_user}","gists_url":"https://api.github.com/users/dwagon/gists{/gist_id}","starred_url":"https://api.github.com/users/dwagon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwagon/subscriptions","organizations_url":"https://api.github.com/users/dwagon/orgs","repos_url":"https://api.github.com/users/dwagon/repos","events_url":"https://api.github.com/users/dwagon/events{/privacy}","received_events_url":"https://api.github.com/users/dwagon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/core","name":"core","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-01T03:57:33Z","updated_at":"2015-06-11T20:54:47Z","closed_at":"2015-06-11T20:54:47Z","body":"The provisioner scripts get deployed with 0777 permissions. \r\nThis causes alarms around world writable files.\r\n\r\nA better permission would be 0755.\r\n\r\nThis is in the ```Provision()``` in ```provisioner/shell/provisioner.go```"}}