{"action":"opened","issue":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1330","labels_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1330/labels{/name}","comments_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1330/comments","events_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/1330/events","html_url":"https://github.com/KSP-CKAN/CKAN/issues/1330","id":96315945,"number":1330,"title":"CKAN shouldn't replace symlink with directory","user":{"login":"techman83","id":3467784,"avatar_url":"https://avatars.githubusercontent.com/u/3467784?v=3","gravatar_id":"","url":"https://api.github.com/users/techman83","html_url":"https://github.com/techman83","followers_url":"https://api.github.com/users/techman83/followers","following_url":"https://api.github.com/users/techman83/following{/other_user}","gists_url":"https://api.github.com/users/techman83/gists{/gist_id}","starred_url":"https://api.github.com/users/techman83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techman83/subscriptions","organizations_url":"https://api.github.com/users/techman83/orgs","repos_url":"https://api.github.com/users/techman83/repos","events_url":"https://api.github.com/users/techman83/events{/privacy}","received_events_url":"https://api.github.com/users/techman83/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/labels/enhancement","name":"enhancement","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-21T13:35:48Z","updated_at":"2015-07-21T13:35:48Z","closed_at":null,"body":"I've not done any investigation as to why. But my poor internets are making testing challenging.\r\n\r\nBefore\r\n```\r\nleon@beast /tmp/NetKAN $ ls -lah dummy_ksp/CKAN/\r\ntotal 4.7M\r\ndrwxr-xr-x 2 leon leon 4.0K Jul 21 21:26 .\r\ndrwxr-xr-x 5 leon leon 4.0K Jul 21 21:23 ..\r\nlrwxrwxrwx 1 leon leon   22 Jul 21 21:26 downloads -> ../../downloads_cache/\r\n-rw-r--r-- 1 leon leon  264 Jul 21 21:23 installed-default.ckan\r\n-rw-r--r-- 1 leon leon 4.7M Jul 21 21:23 registry.json\r\n```\r\n\r\nAfter, it actually moves the symlink inside it O.o\r\n```\r\nleon@beast /tmp/NetKAN $ ls -lah dummy_ksp/CKAN/downloads\r\ntotal 8.0K\r\ndrwxr-xr-x 2 leon leon 4.0K Jul 21 21:27 .\r\ndrwxr-xr-x 3 leon leon 4.0K Jul 21 21:27 ..\r\nlrwxrwxrwx 1 leon leon   22 Jul 21 21:27 downloads_cache -> ../../downloads_cache/\r\n```\r\n\r\nUnsure if this affects Windows."}}