{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/11394","labels_url":"https://api.github.com/repos/docker/docker/issues/11394/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/11394/comments","events_url":"https://api.github.com/repos/docker/docker/issues/11394/events","html_url":"https://github.com/docker/docker/issues/11394","id":61809942,"number":11394,"title":"FATA[0000] invalid symlink when copying a symlink with relative parent paths","user":{"login":"mikehaertl","id":675062,"avatar_url":"https://avatars.githubusercontent.com/u/675062?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehaertl","html_url":"https://github.com/mikehaertl","followers_url":"https://api.github.com/users/mikehaertl/followers","following_url":"https://api.github.com/users/mikehaertl/following{/other_user}","gists_url":"https://api.github.com/users/mikehaertl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehaertl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehaertl/subscriptions","organizations_url":"https://api.github.com/users/mikehaertl/orgs","repos_url":"https://api.github.com/users/mikehaertl/repos","events_url":"https://api.github.com/users/mikehaertl/events{/privacy}","received_events_url":"https://api.github.com/users/mikehaertl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-15T13:14:23Z","updated_at":"2015-03-15T13:14:23Z","closed_at":null,"body":"```Dockerfile\r\nFROM debian:jessie\r\n\r\nRUN mkdir -p /tmp/test/subdir1 /tmp/test/subdir2\r\nRUN touch /tmp/test/subdir1/a\r\nRUN cd /tmp/test/subdir2 \r\nRUN ln -s ../subdir1/a\r\n```\r\n\r\n```sh\r\n$docker build -t symlink .\r\n[...]\r\n\r\n$ docker run --rm -ti symlink ls -l /tmp/test/subdir2\r\ntotal 0\r\nlrwxrwxrwx 1 root root 12 Mar 15 13:05 a -> ../subdir1/a\r\n\r\n$ docker create --name test symlink\r\n287d64308a8264cf46bdde93cd53dc85abbc107c363736df89c0f6498f83c87c\r\n\r\n$ docker cp test:/tmp/test .\r\nFATA[0000] invalid symlink \"test/subdir2/a\" -> \"../subdir1/a\"\r\n```\r\n\r\nTested on a Linux host. There was a similar issue (#7296) but it was suggested there, that I should rather create a new issue as the other issue was windows related and thus a different problem than this here."}}