{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/2112","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/2112/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/2112/comments","events_url":"https://api.github.com/repos/conda/conda/issues/2112/events","html_url":"https://github.com/conda/conda/issues/2112","id":135140409,"number":2112,"title":"Error cloning a conda environment","user":{"login":"ltransom","id":1278459,"avatar_url":"https://avatars.githubusercontent.com/u/1278459?v=3","gravatar_id":"","url":"https://api.github.com/users/ltransom","html_url":"https://github.com/ltransom","followers_url":"https://api.github.com/users/ltransom/followers","following_url":"https://api.github.com/users/ltransom/following{/other_user}","gists_url":"https://api.github.com/users/ltransom/gists{/gist_id}","starred_url":"https://api.github.com/users/ltransom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltransom/subscriptions","organizations_url":"https://api.github.com/users/ltransom/orgs","repos_url":"https://api.github.com/users/ltransom/repos","events_url":"https://api.github.com/users/ltransom/events{/privacy}","received_events_url":"https://api.github.com/users/ltransom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-21T00:59:59Z","updated_at":"2016-02-26T16:57:32Z","closed_at":null,"body":"\r\nconda create --name test --clone quant\r\nUsing Anaconda Cloud api site https://api.anaconda.org\r\nFetching package metadata: ....\r\nsrc_prefix: '/Users/lransom/anaconda3/envs/quant'\r\ndst_prefix: '/Users/lransom/anaconda3/envs/test'\r\nPackages: 153\r\nFiles: 93\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/Users/lransom/anaconda3/bin/conda\", line 5, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/cli/main.py\", line 173, in main\r\n    args_func(args, p)\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/cli/main.py\", line 180, in args_func\r\n    args.func(args, p)\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/cli/main_create.py\", line 49, in execute\r\n    install.install(args, parser, 'create')\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/cli/install.py\", line 247, in install\r\n    clone(args.clone, prefix, json=args.json, quiet=args.quiet, index=index)\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/cli/install.py\", line 84, in clone\r\n    quiet=quiet, index=index)\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/site-packages/conda/misc.py\", line 238, in clone_env\r\n    shutil.copystat(src, dst)\r\n  File \"/Users/lransom/anaconda3/lib/python3.4/shutil.py\", line 206, in copystat\r\n    lookup(\"chflags\")(dst, st.st_flags, follow_symlinks=follow)\r\nPermissionError: [Errno 1] Operation not permitted: '/Users/lransom/anaconda3/envs/test/lib/libgcc_s.10.5.dylib'\r\n\r\n\r\n             platform : osx-64\r\n        conda version : 3.19.3\r\n  conda-build version : 1.19.0\r\n       python version : 3.4.4.final.0\r\n     requests version : 2.5.1\r\n     root environment : /Users/lransom/anaconda3  (writable)\r\n  default environment : /Users/lransom/anaconda3\r\n     envs directories : /Users/lransom/anaconda3/envs\r\n        package cache : /Users/lransom/anaconda3/pkgs\r\n         channel URLs : https://repo.continuum.io/pkgs/free/osx-64/\r\n                        https://repo.continuum.io/pkgs/free/noarch/\r\n                        https://repo.continuum.io/pkgs/pro/osx-64/\r\n                        https://repo.continuum.io/pkgs/pro/noarch/\r\n          config file : None\r\n    is foreign system : False"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/189370598","html_url":"https://github.com/conda/conda/issues/2112#issuecomment-189370598","issue_url":"https://api.github.com/repos/conda/conda/issues/2112","id":189370598,"user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:57:32Z","updated_at":"2016-02-26T16:57:32Z","body":"@ltransom let me look at your computer later today if this is still happening.  Looks like a permissions issue somewhere.  Curious what the exact problem is so that we can do better with hints on how to fix it."}}