Home
last modified time | relevance | path

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

1234567

/third_party/node/deps/npm/node_modules/write-file-atomic/lib/
Dindex.js94 if (!options.mode || !options.chown) {
103 if (options.chown == null && process.getuid) {
104 options.chown = { uid: stats.uid, gid: stats.gid }
126 if (options.chown) {
127 await promisify(fs.chown)(tmpfile, options.chown.uid, options.chown.gid).catch(err => {
193 if (!options.mode || !options.chown) {
202 if (!options.chown && process.getuid) {
203 options.chown = { uid: stats.uid, gid: stats.gid }
232 if (options.chown) {
234 fs.chownSync(tmpfile, options.chown.uid, options.chown.gid)
/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)
/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,
224 await chown(dest, process.getuid(), process.getgid());
225 await handle.chown(process.getuid(), process.getgid());
230 await chown(dest, 1, -2);
241 await handle.chown(1, -2);
Dtest-trace-events-fs-async.js39 function chown({ uid, gid }) { function
42 fs.chown('fs2.txt', uid, gid, () => {
272 tests.chown = wrapper(chown, { uid, gid });
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/python/Mac/BuildScript/scripts/
Dpostflight.patch-profile64 chown "${USER}" "${RC}"
91 chown "${USER}" "${RC}"
113 chown "${USER}" "${PR}"
/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/libfuse/test/
Dci-build.sh49 sudo chown root:root util/fusermount3
75 sudo chown root:root util/fusermount3
/third_party/node/typings/internalBinding/
Dfs.d.ts65 function chown(path: string, uid: number, gid: number, req: FSReqCallback): void;
66 function chown(path: string, uid: number, gid: number, req: undefined, ctx: FSSyncContext): void;
67 …function chown(path: string, uid: number, gid: number, usePromises: typeof kUsePromises): Promise<…
238 chown: typeof InternalFSBinding.chown;
/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/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js49 fs.chown = chownFix(fs.chown)
80 if (fs.chown && !fs.lchown) {
/third_party/musl/src/unistd/
Dchown.c5 int chown(const char *path, uid_t uid, gid_t gid) in chown() function
/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/vk-gl-cts/external/amber/src/kokoro/scripts/linux/
Dbuild.sh41 sudo chown -R "$(id -u):$(id -g)" "${ROOT_DIR}/build"
Dbuild_dawn.sh41 sudo chown -R "$(id -u):$(id -g)" "${ROOT_DIR}/build"
/third_party/ltp/testcases/kernel/fs/fs-bench/
Dfs-bench-test.sh22 time chown -R $USER ./00
Dfs-bench-test2.sh32 time chown -R $USER ./00
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/linux/
Dbuild.sh49 sudo chown -R "$(id -u):$(id -g)" "$dir"
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/
Dbuild.sh49 sudo chown -R "$(id -u):$(id -g)" "$dir"
/third_party/spirv-tools/kokoro/scripts/linux/
Dbuild.sh51 sudo chown -R "$(id -u):$(id -g)" "$dir"
/third_party/libfuse/util/
Dinstall_helper.sh31 chown root:root "${DESTDIR}${bindir}/fusermount3"
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_conditionals.sh42 chown $user $test_file

1234567