{"action":"created","issue":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/1092","labels_url":"https://api.github.com/repos/unbit/uwsgi/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/unbit/uwsgi/issues/1092/comments","events_url":"https://api.github.com/repos/unbit/uwsgi/issues/1092/events","html_url":"https://github.com/unbit/uwsgi/issues/1092","id":114095757,"number":1092,"title":"uwsgi unable to open file that the user can access","user":{"login":"chrismcmacken","id":445683,"avatar_url":"https://avatars.githubusercontent.com/u/445683?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismcmacken","html_url":"https://github.com/chrismcmacken","followers_url":"https://api.github.com/users/chrismcmacken/followers","following_url":"https://api.github.com/users/chrismcmacken/following{/other_user}","gists_url":"https://api.github.com/users/chrismcmacken/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismcmacken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismcmacken/subscriptions","organizations_url":"https://api.github.com/users/chrismcmacken/orgs","repos_url":"https://api.github.com/users/chrismcmacken/repos","events_url":"https://api.github.com/users/chrismcmacken/events{/privacy}","received_events_url":"https://api.github.com/users/chrismcmacken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-29T16:50:55Z","updated_at":"2015-11-17T15:56:00Z","closed_at":null,"body":"I am running UWSGI in emperor-tyrant mode, as user `uwsgi`. I also have some sensitive information in an external file that I want uwsgi and some other applications to be able to access. The file permissions are listed below, and the uwsgi user is a member of the `super-secure-group` group, which gives it access. If I run `sudo -u uwsgi cat secure-file.txt` it outputs the file but the uwsgi process cannot open the file even though it's running as the same user. Any idea what's wrong  here?\r\n\r\n```\r\ndrwxr-x--- 2 root  super-secure-group 4096 Oct 29 14:28 .\r\n-rw-r----- 1 root  super-secure-group 1675 Oct 29 14:28 secure-file.txt\r\n```"},"comment":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/comments/157412180","html_url":"https://github.com/unbit/uwsgi/issues/1092#issuecomment-157412180","issue_url":"https://api.github.com/repos/unbit/uwsgi/issues/1092","id":157412180,"user":{"login":"xrmx","id":12932,"avatar_url":"https://avatars.githubusercontent.com/u/12932?v=3","gravatar_id":"","url":"https://api.github.com/users/xrmx","html_url":"https://github.com/xrmx","followers_url":"https://api.github.com/users/xrmx/followers","following_url":"https://api.github.com/users/xrmx/following{/other_user}","gists_url":"https://api.github.com/users/xrmx/gists{/gist_id}","starred_url":"https://api.github.com/users/xrmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrmx/subscriptions","organizations_url":"https://api.github.com/users/xrmx/orgs","repos_url":"https://api.github.com/users/xrmx/repos","events_url":"https://api.github.com/users/xrmx/events{/privacy}","received_events_url":"https://api.github.com/users/xrmx/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T15:56:00Z","updated_at":"2015-11-17T15:56:00Z","body":"@chrismcmacken can you share your emperor config please?"}}