/third_party/node/deps/npm/node_modules/write-file-atomic/ |
D | index.js | 81 if (options.mode && options.chown) resolve() 93 if (options.chown == null && process.getuid) { 94 options.chown = { uid: stats.uid, gid: stats.gid } 134 }).then(function chown () { function 136 if (options.chown) { 138 fs.chown(tmpfile, options.chown.uid, options.chown.gid, function (err) { 190 if (!options.mode || !options.chown) { 199 if (!options.chown && process.getuid) { 200 options.chown = { uid: stats.uid, gid: stats.gid } 222 if (options.chown) fs.chownSync(tmpfile, options.chown.uid, options.chown.gid)
|
D | README.md | 12 * chown **Object** default, uid & gid of existing file, if any 26 If writeFile completes successfully then, if passed the **chown** option it will change 32 If provided, the **chown** option requires both **uid** and **gid** properties or else 33 you'll get an error. If **chown** is not specified it will default to using 34 the owner of the previous file. To prevent chown from being ran you can 48 writeFileAtomic('message.txt', 'Hello Node', {chown:{uid:100,gid:50}}, function (err) {
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | chown.c | 33 int result = chown(ptr, 0, 0); in chown_0100() 56 int result = chown(ptr, 0, -1); in chown_0200() 78 int result = chown(ptr, -1, 0); in chown_0300() 96 int result = chown("/data/test.txt", 0, 0); in chown_0400() 107 int result = chown(NULL, 0, 0); in chown_0500()
|
/third_party/node/deps/npm/node_modules/chownr/ |
D | chownr.js | 43 fs.chown(path, uid, gid, cb) 68 const chown = (cpath, uid, gid, cb) => { function 90 chown(cpath, uid, gid, cb) 94 chown(cpath, uid, gid, cb) 110 return chown(p, uid, gid, cb) 120 return chown(p, uid, gid, cb)
|
D | README.md | 1 Like `chown -R`. 3 Takes the same arguments as `fs.chown()`
|
/third_party/node/deps/npm/node_modules/gentle-fs/lib/ |
D | mkdir.js | 5 const chown = require('./chown.js') constant 9 if (process.platform === 'win32' || chown.selfOwner.uid !== 0) { 18 chown(made || path, owner.uid, owner.gid, cb)
|
D | link.js | 9 const chown = require('./chown.js') constant 73 if (chown.selfOwner.uid !== 0) { 77 tasks.push([chown, to, owner.uid, owner.gid])
|
/third_party/node/deps/npm/node_modules/copy-concurrently/ |
D | copy.js | 46 if (!opts.chown) opts.chown = promisify(opts.Promise, fs.chown) 127 var chown = opts.chown || promisify(Promise, fs.chown) 134 return chown(to, opts.uid, opts.gid) 188 writeOpts.chown = {
|
/third_party/node/test/parallel/ |
D | test-fs-chown-type-check.js | 9 () => fs.chown(i, 1, 1, common.mustNotCall()), 26 () => fs.chown('not_a_file_that_exists', i, 1, common.mustNotCall()), 33 () => fs.chown('not_a_file_that_exists', 1, i, common.mustNotCall()),
|
D | test-fs-promises.js | 13 chown, 188 await chown(dest, process.getuid(), process.getgid()); 189 await handle.chown(process.getuid(), process.getgid()); 194 await chown(dest, 1, -2); 205 await handle.chown(1, -2);
|
D | test-fs-null-bytes.js | 58 check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34); 92 check(fs.chown, fs.chownSync, fileUrl, 12, 34); 123 check(fs.chown, fs.chownSync, fileUrl2, 12, 34);
|
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/test/ |
D | chown.js | 12 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}}) property 26 fs.chown = function (file, uid, gid, cb) { 29 var stream = writeStream(target, {chown: {uid: process.getuid(), gid: process.getgid()}}) property
|
/third_party/python/Mac/BuildScript/scripts/ |
D | postflight.patch-profile | 64 chown "${USER}" "${RC}" 91 chown "${USER}" "${RC}" 113 chown "${USER}" "${PR}"
|
/third_party/node/deps/npm/test/tap/ |
D | meta-test-flaky-root-ownership-test.js | 13 const chown = require('chownr') 17 chown.sync(common.cache, +process.env.SUDO_UID, +process.env.SUDO_GID)
|
/third_party/skia/docker/skia-build-tools/ |
D | Dockerfile | 20 ADD --chown=skia:skia https://storage.googleapis.com/skia-swiftshader/libGLESv2.so /usr/local/lib/l… 21 ADD --chown=skia:skia https://storage.googleapis.com/skia-swiftshader/libEGL.so /usr/local/lib/lib…
|
/third_party/node/deps/npm/node_modules/pacote/ |
D | extract.js | 14 const chown = BB.promisify(require('chownr')) constant 81 return chown(made || dest, opts.uid, opts.gid)
|
/third_party/flutter/skia/docker/skia-release/ |
D | Dockerfile | 16 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/li… 17 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/l…
|
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/ |
D | index.js | 45 this.__atomicChown = options && options.chown 85 return fs.chown(writeStream.__atomicTmp, uid, gid, iferr(cleanup, moveIntoPlace))
|
/third_party/musl/src/unistd/ |
D | chown.c | 5 int chown(const char *path, uid_t uid, gid_t gid) in chown() function
|
/third_party/libwebsockets/lib/misc/ |
D | diskcache.c | 127 if (chown(cache_base_dir, uid, (gid_t)-1)) in lws_diskcache_prepare() 134 if (chown(dir, uid, (uid_t)-1)) in lws_diskcache_prepare() 141 if (chown(dir, uid, (uid_t)-1)) in lws_diskcache_prepare()
|
/third_party/glslang/kokoro/linux-clang-gn/ |
D | build.sh | 49 sudo chown -R "$(id -u):$(id -g)" "${ROOT_DIR}"
|
/third_party/gstreamer/gstreamer/libs/gst/helpers/ |
D | ptp_helper_post_install.sh | 14 chown root "$ptp_helper" || true
|
/third_party/e2fsprogs/debian/ |
D | uuid-runtime.postinst | 10 chown libuuid:libuuid /usr/sbin/uuidd
|
/third_party/ltp/testcases/kernel/fs/fs-bench/ |
D | fs-bench-test.sh | 22 time chown -R $USER ./00
|
/third_party/node/deps/npm/node_modules/gentle-fs/ |
D | CHANGELOG.md | 26 * **link:** properly detect that we should chown the link ([1c69beb](https://github.com/npm/gentle-… 36 * don't chown if we didn't make any dirs ([c4df8a8](https://github.com/npm/gentle-fs/commit/c4df8a8…
|