{"action":"created","issue":{"url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/779","labels_url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/779/labels{/name}","comments_url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/779/comments","events_url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/779/events","html_url":"https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/779","id":95555834,"number":779,"title":"feat(hostinfo/fileperms)","user":{"login":"kaustavha","id":3248143,"avatar_url":"https://avatars.githubusercontent.com/u/3248143?v=3","gravatar_id":"","url":"https://api.github.com/users/kaustavha","html_url":"https://github.com/kaustavha","followers_url":"https://api.github.com/users/kaustavha/followers","following_url":"https://api.github.com/users/kaustavha/following{/other_user}","gists_url":"https://api.github.com/users/kaustavha/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustavha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustavha/subscriptions","organizations_url":"https://api.github.com/users/kaustavha/orgs","repos_url":"https://api.github.com/users/kaustavha/repos","events_url":"https://api.github.com/users/kaustavha/events{/privacy}","received_events_url":"https://api.github.com/users/kaustavha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-17T00:02:47Z","updated_at":"2015-07-21T21:17:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/pulls/779","html_url":"https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/779","diff_url":"https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/779.diff","patch_url":"https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/779.patch"},"body":"Added a hostinfo check to retrieve file permissions on linux"},"comment":{"url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/comments/123480942","html_url":"https://github.com/virgo-agent-toolkit/rackspace-monitoring-agent/pull/779#issuecomment-123480942","issue_url":"https://api.github.com/repos/virgo-agent-toolkit/rackspace-monitoring-agent/issues/779","id":123480942,"user":{"login":"kaustavha","id":3248143,"avatar_url":"https://avatars.githubusercontent.com/u/3248143?v=3","gravatar_id":"","url":"https://api.github.com/users/kaustavha","html_url":"https://github.com/kaustavha","followers_url":"https://api.github.com/users/kaustavha/followers","following_url":"https://api.github.com/users/kaustavha/following{/other_user}","gists_url":"https://api.github.com/users/kaustavha/gists{/gist_id}","starred_url":"https://api.github.com/users/kaustavha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaustavha/subscriptions","organizations_url":"https://api.github.com/users/kaustavha/orgs","repos_url":"https://api.github.com/users/kaustavha/repos","events_url":"https://api.github.com/users/kaustavha/events{/privacy}","received_events_url":"https://api.github.com/users/kaustavha/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T21:17:49Z","updated_at":"2015-07-21T21:17:49Z","body":"The resulting data struct is\r\n{\r\n  [\"filename.lua\"] = { permissions = \"755\", sticky = false, guid = false, suid = false},\r\n  ...\r\n}\r\nSince the alternative ended up sending back empty tables which looked buggy. We can trim the output since files usually return false for sgid, suid or sticky but it doesn't tell the data user that the check actually checks for them without having them show up as false."}}