{"action":"opened","issue":{"url":"https://api.github.com/repos/jkehler/awslambda-psycopg2/issues/30","repository_url":"https://api.github.com/repos/jkehler/awslambda-psycopg2","labels_url":"https://api.github.com/repos/jkehler/awslambda-psycopg2/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/jkehler/awslambda-psycopg2/issues/30/comments","events_url":"https://api.github.com/repos/jkehler/awslambda-psycopg2/issues/30/events","html_url":"https://github.com/jkehler/awslambda-psycopg2/issues/30","id":310175544,"number":30,"title":"psycopg2 directory permissions are wrong","user":{"login":"evanjoy","id":12851236,"avatar_url":"https://avatars0.githubusercontent.com/u/12851236?v=4","gravatar_id":"","url":"https://api.github.com/users/evanjoy","html_url":"https://github.com/evanjoy","followers_url":"https://api.github.com/users/evanjoy/followers","following_url":"https://api.github.com/users/evanjoy/following{/other_user}","gists_url":"https://api.github.com/users/evanjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/evanjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanjoy/subscriptions","organizations_url":"https://api.github.com/users/evanjoy/orgs","repos_url":"https://api.github.com/users/evanjoy/repos","events_url":"https://api.github.com/users/evanjoy/events{/privacy}","received_events_url":"https://api.github.com/users/evanjoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-30T21:42:41Z","updated_at":"2018-03-30T21:42:41Z","closed_at":null,"author_association":"NONE","body":"If I just copy & bundle up the existing psycopg2 directory, then I get errors trying to import it in my Lambda function.\r\n\r\nTurns out the permissions on the psycopg2 directory were `rwx------` by default.\r\n\r\nFixed by `chmod 775 psycopg2`\r\n\r\nFeedback: It'd be ideal if it either came down with the right permissions, or if the README.md file documented this issue so that new users don't have to experience and debug this issue every.\r\n\r\nI'm on Ubuntu 16.04, if it matters.\r\n"}}
{"actor":{"display_login":"evanjoy"}}