{"_id":"mkdirp-infer-owner","_rev":"53277","name":"mkdirp-infer-owner","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"isaacs","email":""}],"time":{"modified":"2022-10-18T09:46:08.000Z","created":"2020-01-25T20:27:42.433Z","2.0.0":"2020-07-11T00:15:30.826Z","1.0.2":"2020-01-26T01:22:13.764Z","1.0.1":"2020-01-25T20:28:26.920Z","1.0.0":"2020-01-25T20:27:42.433Z"},"users":{},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"repository":{"type":"git","url":"git+https://github.com/isaacs/mkdirp-infer-owner.git"},"versions":{"2.0.0":{"name":"mkdirp-infer-owner","version":"2.0.0","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"license":"ISC","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap"},"tap":{"check-coverage":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6"},"dependencies":{"chownr":"^2.0.0","infer-owner":"^1.0.4","mkdirp":"^1.0.3"},"repository":{"type":"git","url":"git+https://github.com/isaacs/mkdirp-infer-owner.git"},"engines":{"node":">=10"},"gitHead":"9cda21b6633654f49643a3952964bc0458774fd1","bugs":{"url":"https://github.com/isaacs/mkdirp-infer-owner/issues"},"homepage":"https://github.com/isaacs/mkdirp-infer-owner#readme","_id":"mkdirp-infer-owner@2.0.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.5","dist":{"shasum":"55d3b368e7d89065c38f32fd38e638f0ab61d316","size":1680,"noattachment":false,"key":"/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/mkdirp-infer-owner/download/mkdirp-infer-owner-2.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mkdirp-infer-owner_2.0.0_1594426530689_0.20812250022504686"},"_hasShrinkwrap":false,"publish_time":1594426530826,"_cnpm_publish_time":1594426530826},"1.0.2":{"name":"mkdirp-infer-owner","version":"1.0.2","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"license":"ISC","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap"},"tap":{"check-coverage":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6"},"dependencies":{"chownr":"^1.1.3","infer-owner":"^1.0.4","mkdirp":"^1.0.3"},"repository":{"type":"git","url":"git+https://github.com/isaacs/mkdirp-infer-owner.git"},"gitHead":"2d7eb7133c4700d304b7a0c8d81673f643abf9db","bugs":{"url":"https://github.com/isaacs/mkdirp-infer-owner/issues"},"homepage":"https://github.com/isaacs/mkdirp-infer-owner#readme","_id":"mkdirp-infer-owner@1.0.2","_nodeVersion":"13.4.0","_npmVersion":"6.13.6","dist":{"shasum":"9155d4b5e0f89a835455d7dbae8f3bba3d2fa77c","size":1665,"noattachment":false,"key":"/mkdirp-infer-owner/-/mkdirp-infer-owner-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/mkdirp-infer-owner/download/mkdirp-infer-owner-1.0.2.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mkdirp-infer-owner_1.0.2_1580001733648_0.5864114103068425"},"_hasShrinkwrap":false,"publish_time":1580001733764,"_cnpm_publish_time":1580001733764},"1.0.1":{"name":"mkdirp-infer-owner","version":"1.0.1","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"license":"ISC","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6"},"dependencies":{"chownr":"^1.1.3","infer-owner":"^1.0.4","mkdirp":"^1.0.3"},"gitHead":"88cd8fb39c97e3a38845a95e8e026983158ecffb","_id":"mkdirp-infer-owner@1.0.1","_nodeVersion":"13.4.0","_npmVersion":"6.13.6","dist":{"shasum":"907d2dde16b4b4c345d9ed36a98ad1376ebedfe2","size":1614,"noattachment":false,"key":"/mkdirp-infer-owner/-/mkdirp-infer-owner-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/mkdirp-infer-owner/download/mkdirp-infer-owner-1.0.1.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mkdirp-infer-owner_1.0.1_1579984106785_0.6213863905427626"},"_hasShrinkwrap":false,"publish_time":1579984106920,"_cnpm_publish_time":1579984106920},"1.0.0":{"name":"mkdirp-infer-owner","version":"1.0.0","description":"mkdirp, but chown to the owner of the containing folder if possible and necessary","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"license":"ISC","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6"},"dependencies":{"chownr":"^1.1.3","infer-owner":"^1.0.4","mkdirp":"^1.0.3"},"gitHead":"a40a6f93aadda86b5bc79df2fc18f01b09adfc0b","_id":"mkdirp-infer-owner@1.0.0","_nodeVersion":"13.4.0","_npmVersion":"6.13.6","dist":{"shasum":"1237e9fe0439ec29e238f6b55b74841ed8334365","size":29910,"noattachment":false,"key":"/mkdirp-infer-owner/-/mkdirp-infer-owner-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/mkdirp-infer-owner/download/mkdirp-infer-owner-1.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mkdirp-infer-owner_1.0.0_1579984062213_0.7846173048567768"},"_hasShrinkwrap":false,"publish_time":1579984062433,"_cnpm_publish_time":1579984062433}},"readme":"# mkdirp-infer-owner\n\n[`mkdirp`](http://npm.im/mkdirp), but chown to the owner of the containing\nfolder if possible and necessary.\n\nThat is, on Windows and when running as non-root, it's exactly the same as\n[`mkdirp`](http://npm.im/mkdirp).\n\nWhen running as root on non-Windows systems, it uses\n[`infer-owner`](http://npm.im/infer-owner) to find the owner of the\ncontaining folder, and then [`chownr`](http://npm.im/chownr) to set the\nownership of the created folder to that same uid/gid.\n\nThis is used by [npm](http://npm.im/npm) to prevent root-owned files and\nfolders from showing up in your home directory (either in `node_modules` or\nin the `~/.npm` cache) when running as root.\n","_attachments":{},"homepage":"https://github.com/isaacs/mkdirp-infer-owner#readme","bugs":{"url":"https://github.com/isaacs/mkdirp-infer-owner/issues"},"license":"ISC"}