{"action":"created","issue":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/357","repository_url":"https://api.github.com/repos/jprichardson/node-fs-extra","labels_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/357/comments","events_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/357/events","html_url":"https://github.com/jprichardson/node-fs-extra/issues/357","id":208171984,"number":357,"title":"fs.move fails with chmod error when disk under heavy use","user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T16:24:59Z","updated_at":"2017-02-16T16:25:26Z","closed_at":null,"body":"I noticed that `fs.move`, which `/lib/copy/ncp` uses under the hood, fails with chmod error when disk under heavy use.\r\n```\r\n{ Error: ENOENT: no such file or directory, chmod '/the/path-a/file-a'\r\n  errno: -2,\r\n  code: 'ENOENT',\r\n  syscall: 'chmod',\r\n  path: '/the/path-b/file-b' }\r\n\r\nIn this case I'm moving a very large file.\r\nI'm using [pify](https://github.com/sindresorhus/pify) `fs.move`:\r\n```js\r\nconst binary = (func) => (a, b) => func(a, b)\r\nconst move = binary(pify(fs.move))\r\n```\r\n\r\nRelated to #326. \\cc @nicks."},"comment":{"url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/comments/280380348","html_url":"https://github.com/jprichardson/node-fs-extra/issues/357#issuecomment-280380348","issue_url":"https://api.github.com/repos/jprichardson/node-fs-extra/issues/357","id":280380348,"user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T16:25:26Z","updated_at":"2017-02-16T16:25:26Z","body":"Using fs-extra v2.0.0."}}
{"actor":{"display_login":"jdalton"}}