{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/comments/74384175","id":74384175,"diff_hunk":"@@ -84,6 +84,12 @@ RUN \\\n     && echo 'Cleaning up installation files' >&2 && \\\n     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\n \n+# compile suid create_user binary\n+COPY create_user.c /tmp/create_user.c\n+RUN gcc -DHOMEDIR=\\\"/data/riotbuild\\\" -DUSERNAME=\\\"riotbuild\\\" /tmp/create_user.c -o /usr/local/bin/create_user \\\n+    && chown root:root /usr/local/bin/create_user \\\n+    && chmod 4750 /usr/local/bin/create_user","path":"Dockerfile","position":8,"original_position":8,"commit_id":"71f552482dfe9d3922efc74418006fb541c138bd","original_commit_id":"71f552482dfe9d3922efc74418006fb541c138bd","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"> > Could you change this to symbolic permissions? It makes it a bit easier to understand IMO.\r\n> Really? :) I never know how to specify the more complex ones using\r\n> symbolic permission...\r\n\r\nOr better, what's \"4750\" in symbolic notation?","created_at":"2016-08-11T08:28:11Z","updated_at":"2016-08-11T08:28:11Z","html_url":"https://github.com/RIOT-OS/riotdocker/pull/22#discussion_r74384175","pull_request_url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/comments/74384175"},"html":{"href":"https://github.com/RIOT-OS/riotdocker/pull/22#discussion_r74384175"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22","id":80911895,"html_url":"https://github.com/RIOT-OS/riotdocker/pull/22","diff_url":"https://github.com/RIOT-OS/riotdocker/pull/22.diff","patch_url":"https://github.com/RIOT-OS/riotdocker/pull/22.patch","issue_url":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/22","number":22,"state":"open","locked":false,"title":"add tool to create a passwd entry for user running the container","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"body":"This PR makes sure that the uid executing a command within the container has a proper passwd entry.\r\n\r\nThis solves some trouble with stuff requiring a user entry:\r\n\r\n```\r\nI have no name!@984e0102d179:/data/riotbuild$ ssh booze\r\nNo user exists for uid 1000\r\nI have no name!@984e0102d179:/data/riotbuild$\r\n```\r\n\r\nvs.\r\n\r\n```\r\nriotbuild@bb9627754a88:~$ ssh booze\r\nThe authenticity of host 'booze (192.168.1.150)' can't be established.\r\nECDSA key fingerprint is SHA256:JgfpYCuH13M74r4kJnRt+yegIdQq5F5BW68FADcYf1I.\r\nAre you sure you want to continue connecting (yes/no)?\r\n```","created_at":"2016-08-11T07:05:07Z","updated_at":"2016-08-11T08:28:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7e42dea076c4eba862bba310bbed1029d8a4686","assignee":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"assignees":[{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/22/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/riotdocker/statuses/71f552482dfe9d3922efc74418006fb541c138bd","head":{"label":"kaspar030:create_user","ref":"create_user","sha":"71f552482dfe9d3922efc74418006fb541c138bd","user":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"repo":{"id":54503271,"name":"riotdocker","full_name":"kaspar030/riotdocker","owner":{"login":"kaspar030","id":4679640,"avatar_url":"https://avatars.githubusercontent.com/u/4679640?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspar030","html_url":"https://github.com/kaspar030","followers_url":"https://api.github.com/users/kaspar030/followers","following_url":"https://api.github.com/users/kaspar030/following{/other_user}","gists_url":"https://api.github.com/users/kaspar030/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspar030/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspar030/subscriptions","organizations_url":"https://api.github.com/users/kaspar030/orgs","repos_url":"https://api.github.com/users/kaspar030/repos","events_url":"https://api.github.com/users/kaspar030/events{/privacy}","received_events_url":"https://api.github.com/users/kaspar030/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaspar030/riotdocker","description":"Fork of riotdocker for Murdock build slaves","fork":true,"url":"https://api.github.com/repos/kaspar030/riotdocker","forks_url":"https://api.github.com/repos/kaspar030/riotdocker/forks","keys_url":"https://api.github.com/repos/kaspar030/riotdocker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaspar030/riotdocker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaspar030/riotdocker/teams","hooks_url":"https://api.github.com/repos/kaspar030/riotdocker/hooks","issue_events_url":"https://api.github.com/repos/kaspar030/riotdocker/issues/events{/number}","events_url":"https://api.github.com/repos/kaspar030/riotdocker/events","assignees_url":"https://api.github.com/repos/kaspar030/riotdocker/assignees{/user}","branches_url":"https://api.github.com/repos/kaspar030/riotdocker/branches{/branch}","tags_url":"https://api.github.com/repos/kaspar030/riotdocker/tags","blobs_url":"https://api.github.com/repos/kaspar030/riotdocker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaspar030/riotdocker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaspar030/riotdocker/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaspar030/riotdocker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaspar030/riotdocker/statuses/{sha}","languages_url":"https://api.github.com/repos/kaspar030/riotdocker/languages","stargazers_url":"https://api.github.com/repos/kaspar030/riotdocker/stargazers","contributors_url":"https://api.github.com/repos/kaspar030/riotdocker/contributors","subscribers_url":"https://api.github.com/repos/kaspar030/riotdocker/subscribers","subscription_url":"https://api.github.com/repos/kaspar030/riotdocker/subscription","commits_url":"https://api.github.com/repos/kaspar030/riotdocker/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaspar030/riotdocker/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaspar030/riotdocker/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaspar030/riotdocker/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaspar030/riotdocker/contents/{+path}","compare_url":"https://api.github.com/repos/kaspar030/riotdocker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaspar030/riotdocker/merges","archive_url":"https://api.github.com/repos/kaspar030/riotdocker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaspar030/riotdocker/downloads","issues_url":"https://api.github.com/repos/kaspar030/riotdocker/issues{/number}","pulls_url":"https://api.github.com/repos/kaspar030/riotdocker/pulls{/number}","milestones_url":"https://api.github.com/repos/kaspar030/riotdocker/milestones{/number}","notifications_url":"https://api.github.com/repos/kaspar030/riotdocker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaspar030/riotdocker/labels{/name}","releases_url":"https://api.github.com/repos/kaspar030/riotdocker/releases{/id}","deployments_url":"https://api.github.com/repos/kaspar030/riotdocker/deployments","created_at":"2016-03-22T19:33:18Z","updated_at":"2016-03-22T19:34:09Z","pushed_at":"2016-08-11T07:05:52Z","git_url":"git://github.com/kaspar030/riotdocker.git","ssh_url":"git@github.com:kaspar030/riotdocker.git","clone_url":"https://github.com/kaspar030/riotdocker.git","svn_url":"https://github.com/kaspar030/riotdocker","homepage":"","size":42,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"0014f47e57288ebbabe2f38e5e1026a1a5332602","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":32677832,"name":"riotdocker","full_name":"RIOT-OS/riotdocker","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/riotdocker","description":"Dockerfiles for creating build environment for building RIOT projects. ","fork":false,"url":"https://api.github.com/repos/RIOT-OS/riotdocker","forks_url":"https://api.github.com/repos/RIOT-OS/riotdocker/forks","keys_url":"https://api.github.com/repos/RIOT-OS/riotdocker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/riotdocker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/riotdocker/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/riotdocker/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/riotdocker/events","assignees_url":"https://api.github.com/repos/RIOT-OS/riotdocker/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/riotdocker/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/riotdocker/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/riotdocker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/riotdocker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/riotdocker/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/riotdocker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/riotdocker/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/riotdocker/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/riotdocker/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/riotdocker/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/riotdocker/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/riotdocker/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/riotdocker/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/riotdocker/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/riotdocker/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/comments{/number}","contents_url":"https://api.github.com/repos/RIOT-OS/riotdocker/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/riotdocker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/riotdocker/merges","archive_url":"https://api.github.com/repos/RIOT-OS/riotdocker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/riotdocker/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/riotdocker/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/riotdocker/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/riotdocker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/riotdocker/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/riotdocker/releases{/id}","deployments_url":"https://api.github.com/repos/RIOT-OS/riotdocker/deployments","created_at":"2015-03-22T14:00:18Z","updated_at":"2016-07-25T19:44:51Z","pushed_at":"2016-08-11T07:05:07Z","git_url":"git://github.com/RIOT-OS/riotdocker.git","ssh_url":"git@github.com:RIOT-OS/riotdocker.git","clone_url":"https://github.com/RIOT-OS/riotdocker.git","svn_url":"https://github.com/RIOT-OS/riotdocker","homepage":null,"size":71,"stargazers_count":11,"watchers_count":11,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22"},"html":{"href":"https://github.com/RIOT-OS/riotdocker/pull/22"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/22"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/riotdocker/statuses/71f552482dfe9d3922efc74418006fb541c138bd"}}}}
{"actor":{"display_login":"kaspar030"}}