{"action":"created","issue":{"url":"https://api.github.com/repos/znc/znc-docker/issues/10","repository_url":"https://api.github.com/repos/znc/znc-docker","labels_url":"https://api.github.com/repos/znc/znc-docker/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/znc/znc-docker/issues/10/comments","events_url":"https://api.github.com/repos/znc/znc-docker/issues/10/events","html_url":"https://github.com/znc/znc-docker/issues/10","id":317669214,"number":10,"title":"File permissions are set as systemd-timesync:systemd-journal","user":{"login":"mijndert","id":626972,"avatar_url":"https://avatars2.githubusercontent.com/u/626972?v=4","gravatar_id":"","url":"https://api.github.com/users/mijndert","html_url":"https://github.com/mijndert","followers_url":"https://api.github.com/users/mijndert/followers","following_url":"https://api.github.com/users/mijndert/following{/other_user}","gists_url":"https://api.github.com/users/mijndert/gists{/gist_id}","starred_url":"https://api.github.com/users/mijndert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mijndert/subscriptions","organizations_url":"https://api.github.com/users/mijndert/orgs","repos_url":"https://api.github.com/users/mijndert/repos","events_url":"https://api.github.com/users/mijndert/events{/privacy}","received_events_url":"https://api.github.com/users/mijndert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-25T15:03:41Z","updated_at":"2018-04-26T00:52:32Z","closed_at":null,"author_association":"NONE","body":"I'm trying to run ZNC in Docker on my system using Ubuntu 16.04. \r\n\r\nI'm using my own user 'mijndert':\r\n\r\n`uid=1000(mijndert) gid=1000(mijndert) groups=1000(mijndert),27(sudo),33(www-data),117(docker)`\r\n\r\nI run this command as my own user:\r\n\r\n`docker run -it -v ~/znc-cfg:/znc-data znc --makeconf`\r\n\r\nThis results in the folder being owned by systemd-timesync:systemd-journal:\r\n\r\n```\r\n$ ls znc-cfg\r\nls: cannot open directory 'znc-cfg': Permission denied\r\ndrwx------  5 systemd-timesync systemd-journal 4.0K Apr 25 16:59 znc-cfg\r\n```\r\n\r\nWhat could be the cause of this and can I force the files to be created with my own UID?\r\n"},"comment":{"url":"https://api.github.com/repos/znc/znc-docker/issues/comments/384478360","html_url":"https://github.com/znc/znc-docker/issues/10#issuecomment-384478360","issue_url":"https://api.github.com/repos/znc/znc-docker/issues/10","id":384478360,"user":{"login":"DarthGandalf","id":325092,"avatar_url":"https://avatars2.githubusercontent.com/u/325092?v=4","gravatar_id":"","url":"https://api.github.com/users/DarthGandalf","html_url":"https://github.com/DarthGandalf","followers_url":"https://api.github.com/users/DarthGandalf/followers","following_url":"https://api.github.com/users/DarthGandalf/following{/other_user}","gists_url":"https://api.github.com/users/DarthGandalf/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGandalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGandalf/subscriptions","organizations_url":"https://api.github.com/users/DarthGandalf/orgs","repos_url":"https://api.github.com/users/DarthGandalf/repos","events_url":"https://api.github.com/users/DarthGandalf/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGandalf/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T00:52:32Z","updated_at":"2018-04-26T00:52:32Z","author_association":"OWNER","body":"Did you read https://docs.docker.com/engine/security/userns-remap/ ?"}}
{"actor":{"display_login":"DarthGandalf"}}