{"action":"closed","issue":{"url":"https://api.github.com/repos/mysociety/alaveteli/issues/2185","labels_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2185/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2185/comments","events_url":"https://api.github.com/repos/mysociety/alaveteli/issues/2185/events","html_url":"https://github.com/mysociety/alaveteli/issues/2185","id":58377289,"number":2185,"title":"Install script does not create daemons with correct permissions","user":{"login":"garethrees","id":282788,"avatar_url":"https://avatars.githubusercontent.com/u/282788?v=3","gravatar_id":"","url":"https://api.github.com/users/garethrees","html_url":"https://github.com/garethrees","followers_url":"https://api.github.com/users/garethrees/followers","following_url":"https://api.github.com/users/garethrees/following{/other_user}","gists_url":"https://api.github.com/users/garethrees/gists{/gist_id}","starred_url":"https://api.github.com/users/garethrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethrees/subscriptions","organizations_url":"https://api.github.com/users/garethrees/orgs","repos_url":"https://api.github.com/users/garethrees/repos","events_url":"https://api.github.com/users/garethrees/events{/privacy}","received_events_url":"https://api.github.com/users/garethrees/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mysociety/alaveteli/labels/5%20-%20awaiting%20review","name":"5 - awaiting review","color":"eb6420"},{"url":"https://api.github.com/repos/mysociety/alaveteli/labels/bug","name":"bug","color":"AE0902"},{"url":"https://api.github.com/repos/mysociety/alaveteli/labels/Re-user%20experience","name":"Re-user experience","color":"DCCBBF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-20T16:39:46Z","updated_at":"2015-03-17T16:56:17Z","closed_at":"2015-03-17T16:56:17Z","body":"The [manual install](http://alaveteli.org/docs/installing/manual_install/#cron-jobs-and-daemons) specifies that daemons are created with mode `754` and `root:alaveteli` ownership. The install script creates them with `755`, `root:root`.\r\n\r\nhttps://github.com/mysociety/alaveteli/commit/beb05ff613cf07091a5e55a33f6e7a44521c0501 requires that the `alaveteli` user (who should be in the `alaveteli` group) be able to restart the app through SysVinit.\r\n\r\n<!---\r\n@huboard:{\"order\":2197.5,\"milestone_order\":2185,\"custom_state\":\"\"}\n-->\r\n"}}