{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1069","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1069/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1069/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1069/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/pull/1069","id":91034364,"number":1069,"title":"some adjustments for a better error messages.","user":{"login":"jpereira","id":254448,"avatar_url":"https://avatars.githubusercontent.com/u/254448?v=3","gravatar_id":"","url":"https://api.github.com/users/jpereira","html_url":"https://github.com/jpereira","followers_url":"https://api.github.com/users/jpereira/followers","following_url":"https://api.github.com/users/jpereira/following{/other_user}","gists_url":"https://api.github.com/users/jpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/jpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpereira/subscriptions","organizations_url":"https://api.github.com/users/jpereira/orgs","repos_url":"https://api.github.com/users/jpereira/repos","events_url":"https://api.github.com/users/jpereira/events{/privacy}","received_events_url":"https://api.github.com/users/jpereira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-25T18:01:35Z","updated_at":"2015-06-25T18:47:35Z","closed_at":"2015-06-25T18:21:12Z","pull_request":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/pulls/1069","html_url":"https://github.com/FreeRADIUS/freeradius-server/pull/1069","diff_url":"https://github.com/FreeRADIUS/freeradius-server/pull/1069.diff","patch_url":"https://github.com/FreeRADIUS/freeradius-server/pull/1069.patch"},"body":"Hi @arr2036!\r\n\r\nToday I had the situation that was necessary to call the 'radiusd' using a directory that the user 'freerad' don't had permissions to read... and was terrible to find  the problem like the below message.\r\n\r\n```\r\n......\r\nWed Jun 24 01:00:55 2015 : Debug:   # Loading module \"files\" from file /root/teste/mods-enabled/files\r\nWed Jun 24 01:00:55 2015 : Debug:   files {\r\nWed Jun 24 01:00:55 2015 : Debug:   \tfilename = \"/root/teste/mods-config/files/authorize\"\r\nWed Jun 24 01:00:55 2015 : Error: Unable to open file \"/root/teste/mods-config/files/authorize\": \r\nWed Jun 24 01:00:55 2015 : Debug:   }\r\nWed Jun 24 01:00:55 2015 : Error: /root/teste/mods-enabled/files[9]: Invalid configuration for module \"files\"\r\n......\r\n```\r\n\r\nafter the adjustments...\r\n\r\n```\r\n......\r\nWed Jun 24 01:00:55 2015 : Debug:   # Loading module \"files\" from file /root/teste/mods-enabled/files\r\nWed Jun 24 01:00:55 2015 : Debug:   files {\r\nWed Jun 24 01:00:55 2015 : Debug:   \tfilename = \"/root/teste/mods-config/files/authorize\"\r\nWed Jun 24 01:00:55 2015 : Error: Unable to open file \"/root/teste/mods-config/files/authorize\": Permission denied\r\nWed Jun 24 01:00:55 2015 : Debug:   }\r\nWed Jun 24 01:00:55 2015 : Error: /root/teste/mods-enabled/files[9]: Invalid configuration for module \"files\"\r\n......\r\n```\r\n\r\nmore useful! :+1: \r\n\r\nAnd I made some others adjustments."},"comment":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/comments/115360080","html_url":"https://github.com/FreeRADIUS/freeradius-server/pull/1069#issuecomment-115360080","issue_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1069","id":115360080,"user":{"login":"jpereira","id":254448,"avatar_url":"https://avatars.githubusercontent.com/u/254448?v=3","gravatar_id":"","url":"https://api.github.com/users/jpereira","html_url":"https://github.com/jpereira","followers_url":"https://api.github.com/users/jpereira/followers","following_url":"https://api.github.com/users/jpereira/following{/other_user}","gists_url":"https://api.github.com/users/jpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/jpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpereira/subscriptions","organizations_url":"https://api.github.com/users/jpereira/orgs","repos_url":"https://api.github.com/users/jpereira/repos","events_url":"https://api.github.com/users/jpereira/events{/privacy}","received_events_url":"https://api.github.com/users/jpereira/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T18:47:35Z","updated_at":"2015-06-25T18:47:35Z","body":"Or could be better call the \"uid_name/gid_name\" from the src/main/mainconfig.c"}}