{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/58692","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/58692/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/58692/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/58692/events","html_url":"https://github.com/kubernetes/kubernetes/issues/58692","id":290840093,"number":58692,"title":"Kubectl cp gives \"tar: removing leading '/' from member names\" warning","user":{"login":"stephanwesten","id":2767850,"avatar_url":"https://avatars0.githubusercontent.com/u/2767850?v=4","gravatar_id":"","url":"https://api.github.com/users/stephanwesten","html_url":"https://github.com/stephanwesten","followers_url":"https://api.github.com/users/stephanwesten/followers","following_url":"https://api.github.com/users/stephanwesten/following{/other_user}","gists_url":"https://api.github.com/users/stephanwesten/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanwesten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanwesten/subscriptions","organizations_url":"https://api.github.com/users/stephanwesten/orgs","repos_url":"https://api.github.com/users/stephanwesten/repos","events_url":"https://api.github.com/users/stephanwesten/events{/privacy}","received_events_url":"https://api.github.com/users/stephanwesten/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":267761362,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":450823910,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/cli","name":"sig/cli","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-01-23T13:37:39Z","updated_at":"2018-03-12T10:30:09Z","closed_at":null,"author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line: \r\n>\r\n/kind bug\r\n> /kind feature\r\n\r\n\r\n**What happened**:\r\nIn a shell type the following command:\r\n\r\nkubectl cp [podname]:[source path and filename] [destination path and filename]\r\n\r\nThis gives the following error / warning:\r\ntar: removing leading '/' from member names\r\n\r\n**What you expected to happen**:\r\nI did not expect the tar error / warning. Using the kubectl cp command in scripts/code is now harder because of the unexpected error.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nsee repro path above\r\n\r\n**Anything else we need to know?**:\r\nI'm new, so perhaps the mistake is on my side :-)\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): client 1.7, server 1.8\r\n- Cloud provider or hardware configuration: n/a\r\n- OS (e.g. from /etc/os-release): macos\r\n- Kernel (e.g. `uname -a`): n/a\r\n- Install tools: n/a\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/372262203","html_url":"https://github.com/kubernetes/kubernetes/issues/58692#issuecomment-372262203","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/58692","id":372262203,"user":{"login":"kchugalinskiy","id":14885731,"avatar_url":"https://avatars1.githubusercontent.com/u/14885731?v=4","gravatar_id":"","url":"https://api.github.com/users/kchugalinskiy","html_url":"https://github.com/kchugalinskiy","followers_url":"https://api.github.com/users/kchugalinskiy/followers","following_url":"https://api.github.com/users/kchugalinskiy/following{/other_user}","gists_url":"https://api.github.com/users/kchugalinskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/kchugalinskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchugalinskiy/subscriptions","organizations_url":"https://api.github.com/users/kchugalinskiy/orgs","repos_url":"https://api.github.com/users/kchugalinskiy/repos","events_url":"https://api.github.com/users/kchugalinskiy/events{/privacy}","received_events_url":"https://api.github.com/users/kchugalinskiy/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T10:30:09Z","updated_at":"2018-03-12T10:30:09Z","author_association":"NONE","body":"You may try to copy your files to workdir and then retry to copy them using just their names. It's weird, but it works for now."}}
{"actor":{"display_login":"kchugalinskiy"}}