{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/20715","labels_url":"https://api.github.com/repos/saltstack/salt/issues/20715/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/20715/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/20715/events","html_url":"https://github.com/saltstack/salt/pull/20715","id":57738620,"number":20715,"title":"fix file permission errors","user":{"login":"robin-wittler","id":300173,"avatar_url":"https://avatars.githubusercontent.com/u/300173?v=3","gravatar_id":"","url":"https://api.github.com/users/robin-wittler","html_url":"https://github.com/robin-wittler","followers_url":"https://api.github.com/users/robin-wittler/followers","following_url":"https://api.github.com/users/robin-wittler/following{/other_user}","gists_url":"https://api.github.com/users/robin-wittler/gists{/gist_id}","starred_url":"https://api.github.com/users/robin-wittler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin-wittler/subscriptions","organizations_url":"https://api.github.com/users/robin-wittler/orgs","repos_url":"https://api.github.com/users/robin-wittler/repos","events_url":"https://api.github.com/users/robin-wittler/events{/privacy}","received_events_url":"https://api.github.com/users/robin-wittler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Master%20Change","name":"Master Change","color":"0052cc"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Tests%20Passed","name":"Tests Passed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-15T17:47:33Z","updated_at":"2015-02-16T15:13:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/20715","html_url":"https://github.com/saltstack/salt/pull/20715","diff_url":"https://github.com/saltstack/salt/pull/20715.diff","patch_url":"https://github.com/saltstack/salt/pull/20715.patch"},"body":"This fixes some file permission errors when running salt-minion as non-root\r\nand/or with the config options below:\r\n\r\n  verify_master_pubkey_sign: True\r\n  always_verify_signature: True\r\n\r\nChanges:\r\n  * add salt.utils.(get_uid/get_gid) functions\r\n  * extend salt.utils.fopen to make use of\r\n    uid, gid and mode keyword arguments.\r\n  * extend SAuth.verify_signing_master method so it\r\n    uses now salt.utils.get_uid and calls\r\n    salt.utils.fopen with the uid keyword\r\n\r\n  * extend minion.get_proc_dir:\r\n    * add kwargs to function signature\r\n    * extend doc string\r\n    * handle mode in os.makedirs\r\n    * check if mode of existing dir needs to be changed\r\n    * check if uid/gid needs to be changed (only if os.chmod is\r\n    * available)\r\n\r\n  * extend minion.Minion.__init__ to call minion.get_proc_dir with kwargs\r\n  * extend minion.Proxyminion.__init__ to call minion.get_proc_dir with kwargs"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/74522549","html_url":"https://github.com/saltstack/salt/pull/20715#issuecomment-74522549","issue_url":"https://api.github.com/repos/saltstack/salt/issues/20715","id":74522549,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T15:13:53Z","updated_at":"2015-02-16T15:13:53Z","body":"We try to keep new features from going into 2014.7.  If there is anything here that can be isolated as a bug fix rather than a feature addition, then you may create a separate pull request for that against 2014.7, but for the rest of the code ought to go into 2015.2 or later, thanks."}}