Home
last modified time | relevance | path

Searched refs:chown (Results 1 – 25 of 192) sorted by relevance

12345678

/third_party/node/deps/npm/node_modules/write-file-atomic/
Dindex.js81 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)
DREADME.md12 * 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/
Dchown.c33 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/
Dchownr.js43 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)
DREADME.md1 Like `chown -R`.
3 Takes the same arguments as `fs.chown()`
/third_party/node/deps/npm/node_modules/gentle-fs/lib/
Dmkdir.js5 const chown = require('./chown.js') constant
9 if (process.platform === 'win32' || chown.selfOwner.uid !== 0) {
18 chown(made || path, owner.uid, owner.gid, cb)
Dlink.js9 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/
Dcopy.js46 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/
Dtest-fs-chown-type-check.js9 () => 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()),
Dtest-fs-promises.js13 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);
Dtest-fs-null-bytes.js58 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/
Dchown.js12 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/
Dpostflight.patch-profile64 chown "${USER}" "${RC}"
91 chown "${USER}" "${RC}"
113 chown "${USER}" "${PR}"
/third_party/node/deps/npm/test/tap/
Dmeta-test-flaky-root-ownership-test.js13 const chown = require('chownr')
17 chown.sync(common.cache, +process.env.SUDO_UID, +process.env.SUDO_GID)
/third_party/skia/docker/skia-build-tools/
DDockerfile20 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/
Dextract.js14 const chown = BB.promisify(require('chownr')) constant
81 return chown(made || dest, opts.uid, opts.gid)
/third_party/flutter/skia/docker/skia-release/
DDockerfile16 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/
Dindex.js45 this.__atomicChown = options && options.chown
85 return fs.chown(writeStream.__atomicTmp, uid, gid, iferr(cleanup, moveIntoPlace))
/third_party/musl/src/unistd/
Dchown.c5 int chown(const char *path, uid_t uid, gid_t gid) in chown() function
/third_party/libwebsockets/lib/misc/
Ddiskcache.c127 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/
Dbuild.sh49 sudo chown -R "$(id -u):$(id -g)" "${ROOT_DIR}"
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dptp_helper_post_install.sh14 chown root "$ptp_helper" || true
/third_party/e2fsprogs/debian/
Duuid-runtime.postinst10 chown libuuid:libuuid /usr/sbin/uuidd
/third_party/ltp/testcases/kernel/fs/fs-bench/
Dfs-bench-test.sh22 time chown -R $USER ./00
/third_party/node/deps/npm/node_modules/gentle-fs/
DCHANGELOG.md26 * **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…

12345678