{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2103","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2103/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2103/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2103/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/2103","id":161013388,"number":2103,"title":"Snort formula suggests setting 644 on /dev/bpf* while by default it's 660","user":{"login":"techraf","id":1206173,"avatar_url":"https://avatars.githubusercontent.com/u/1206173?v=3","gravatar_id":"","url":"https://api.github.com/users/techraf","html_url":"https://github.com/techraf","followers_url":"https://api.github.com/users/techraf/followers","following_url":"https://api.github.com/users/techraf/following{/other_user}","gists_url":"https://api.github.com/users/techraf/gists{/gist_id}","starred_url":"https://api.github.com/users/techraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techraf/subscriptions","organizations_url":"https://api.github.com/users/techraf/orgs","repos_url":"https://api.github.com/users/techraf/repos","events_url":"https://api.github.com/users/techraf/events{/privacy}","received_events_url":"https://api.github.com/users/techraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-18T08:14:05Z","updated_at":"2016-06-19T05:18:15Z","closed_at":null,"body":"There's a [suggestion to set permissions to `644` for `/dev/bpf*`](https://github.com/Homebrew/homebrew-core/blob/master/Formula/snort.rb#L63) in the formula for Snort.\r\n\r\nAccording to the explanation it is to enable non-root users to read the files. However following the advice removes the default write permission for `access_bpf` group.\r\n\r\nIs it intentional? Doesn't it break anything?\r\n\r\nBy default these files have `660`:\r\n```\r\ncrw-rw----  1 root  access_bpf   23,   0 Jun 18 01:04 /dev/bpf0\r\ncrw-rw----  1 root  access_bpf   23,   1 Jun 18 00:52 /dev/bpf1\r\ncrw-rw----  1 root  access_bpf   23,  10 Jun 18 01:00 /dev/bpf10\r\ncrw-rw----  1 root  access_bpf   23, 100 Jun 18 01:00 /dev/bpf100\r\ncrw-rw----  1 root  access_bpf   23, 101 Jun 18 01:00 /dev/bpf101\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/226980141","html_url":"https://github.com/Homebrew/homebrew-core/issues/2103#issuecomment-226980141","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2103","id":226980141,"user":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"created_at":"2016-06-19T05:18:15Z","updated_at":"2016-06-19T05:18:15Z","body":"Thanks a lot for filing this issue! This is probably unintentional; nobody's complained that anything is broken yet. It's probably better advice to suggest adding users to the `access_bpf` group or to run `chmod o+r ...`. Would you like to write a patch for this? [This document](https://git.io/vo2xc) should give you a head start and we'd be more than happy to walk you through it if you have any questions."}}
{"actor":{"display_login":"tdsmith"}}