{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/1998","labels_url":"https://api.github.com/repos/conda/conda/issues/1998/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/1998/comments","events_url":"https://api.github.com/repos/conda/conda/issues/1998/events","html_url":"https://github.com/conda/conda/issues/1998","id":129192183,"number":1998,"title":"environment clone failure on OS X","user":{"login":"kellyfitz","id":6751633,"avatar_url":"https://avatars.githubusercontent.com/u/6751633?v=3","gravatar_id":"","url":"https://api.github.com/users/kellyfitz","html_url":"https://github.com/kellyfitz","followers_url":"https://api.github.com/users/kellyfitz/followers","following_url":"https://api.github.com/users/kellyfitz/following{/other_user}","gists_url":"https://api.github.com/users/kellyfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/kellyfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellyfitz/subscriptions","organizations_url":"https://api.github.com/users/kellyfitz/orgs","repos_url":"https://api.github.com/users/kellyfitz/repos","events_url":"https://api.github.com/users/kellyfitz/events{/privacy}","received_events_url":"https://api.github.com/users/kellyfitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T16:15:10Z","updated_at":"2016-01-27T19:18:24Z","closed_at":null,"body":"```\r\nCookie:~ fitzk$ conda info --envs\r\n# conda environments:\r\n#\r\nroot                  *  /Users/fitzk/anaconda\r\n\r\nCookie:~ fitzk$ conda create --name brains --clone root\r\nFetching package metadata: ....\r\nsrc_prefix: '/Users/fitzk/anaconda'\r\ndst_prefix: '/Users/fitzk/anaconda/envs/brains'\r\nPackages: 162\r\nFiles: 1\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/fitzk/anaconda/bin/conda\", line 5, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/cli/main.py\", line 195, in main\r\n    args_func(args, p)\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/cli/main.py\", line 202, in args_func\r\n    args.func(args, p)\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/cli/main_create.py\", line 49, in execute\r\n    install.install(args, parser, 'create')\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/cli/install.py\", line 246, in install\r\n    clone(args.clone, prefix, json=args.json, quiet=args.quiet, index=index)\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/cli/install.py\", line 84, in clone\r\n    quiet=quiet, index=index)\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/site-packages/conda/misc.py\", line 237, in clone_env\r\n    shutil.copystat(src, dst)\r\n  File \"/Users/fitzk/anaconda/lib/python2.7/shutil.py\", line 103, in copystat\r\n    os.chflags(dst, st.st_flags)\r\nOSError: [Errno 1] Operation not permitted: '/Users/fitzk/anaconda/envs/brains/lib/libgcc_s.10.5.dylib'\r\n```\r\n\r\n```\r\nCookie:~ fitzk$ conda info\r\nCurrent conda install:\r\n\r\n             platform : osx-64\r\n        conda version : 3.19.0\r\n  conda-build version : 1.18.2\r\n       python version : 2.7.11.final.0\r\n     requests version : 2.9.1\r\n     root environment : /Users/fitzk/anaconda  (writable)\r\n  default environment : /Users/fitzk/anaconda\r\n     envs directories : /Users/fitzk/anaconda/envs\r\n        package cache : /Users/fitzk/anaconda/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\r\n```"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/175806520","html_url":"https://github.com/conda/conda/issues/1998#issuecomment-175806520","issue_url":"https://api.github.com/repos/conda/conda/issues/1998","id":175806520,"user":{"login":"ijstokes","id":293525,"avatar_url":"https://avatars.githubusercontent.com/u/293525?v=3","gravatar_id":"","url":"https://api.github.com/users/ijstokes","html_url":"https://github.com/ijstokes","followers_url":"https://api.github.com/users/ijstokes/followers","following_url":"https://api.github.com/users/ijstokes/following{/other_user}","gists_url":"https://api.github.com/users/ijstokes/gists{/gist_id}","starred_url":"https://api.github.com/users/ijstokes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijstokes/subscriptions","organizations_url":"https://api.github.com/users/ijstokes/orgs","repos_url":"https://api.github.com/users/ijstokes/repos","events_url":"https://api.github.com/users/ijstokes/events{/privacy}","received_events_url":"https://api.github.com/users/ijstokes/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T19:18:24Z","updated_at":"2016-01-27T19:18:24Z","body":"If I had to guess I'd say there is a weird permissions issue going on here.  Can you execute the following and give us the output?\r\n\r\n```bash\r\nls -Fla /Users/fitzk/anaconda/envs/brains/lib/libgcc_s.10.5.dylib\r\nls -Flad /Users/fitzk/anaconda/envs/brains/lib/\r\n```"}}