/third_party/node/deps/npm/node_modules/write-file-atomic/lib/ |
H A D | index.js | 94 if (!options.mode || !options.chown) { 95 // Either mode or chown is not explicitly set 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) { 194 // Either mode or chown i [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A 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/libfuse/test/ |
H A D | ci-build.sh | 49 sudo chown root:root util/fusermount3 75 sudo chown root:root util/fusermount3
|
/third_party/node/test/parallel/ |
H A D | test-trace-events-fs-async.js | 39 function chown({ uid, gid }) { function 42 fs.chown('fs2.txt', uid, gid, () => { 272 tests.chown = wrapper(chown, { uid, gid });
|
H A D | test-fs-promises.js | 13 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);
|
H A D | test-fs-null-bytes.js | 58 check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34); 93 check(fs.chown, fs.chownSync, fileUrl, 12, 34); 125 check(fs.chown, fs.chownSync, fileUrl2, 12, 34);
|
/third_party/libwebsockets/lib/misc/ |
H A D | diskcache.c | 127 if (chown(cache_base_dir, uid, (gid_t)-1)) in lws_diskcache_prepare() 128 lwsl_err("%s: %s: unable to chown %d\n", __func__, in lws_diskcache_prepare() 134 if (chown(dir, uid, (uid_t)-1)) in lws_diskcache_prepare() 135 lwsl_err("%s: %s: unable to chown %d\n", __func__, in lws_diskcache_prepare() 141 if (chown(dir, uid, (uid_t)-1)) in lws_diskcache_prepare() 142 lwsl_err("%s: %s: unable to chown %d\n", in lws_diskcache_prepare()
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 49 fs.chown = chownFix(fs.chown) 80 if (fs.chown && !fs.lchown) {
|
/third_party/musl/src/unistd/ |
H A D | chown.c | 5 int chown(const char *path, uid_t uid, gid_t gid) in chown() function
|
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/linux/ |
H A D | build.sh | 44 # chown the given directory to the current user, if it exists. 49 sudo chown -R "$(id -u):$(id -g)" "$dir"
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/linux/ |
H A D | build.sh | 44 # chown the given directory to the current user, if it exists. 49 sudo chown -R "$(id -u):$(id -g)" "$dir"
|
/third_party/spirv-tools/kokoro/scripts/linux/ |
H A D | build.sh | 29 # chown the given directory to the current user, if it exists. 34 sudo chown -R "$(id -u):$(id -g)" "$dir"
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
H A D | ima_conditionals.sh | 12 TST_NEEDS_CMDS="cat chgrp chown id sg sudo" 39 chown $user $test_file
|
H A D | ima_measurements.sh | 84 chown $user $dir
|
/third_party/ltp/testcases/kernel/syscalls/ |
H A D | Makefile | 14 FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 156 chown(uid, gid) { 935 async function chown(path, uid, gid) { 939 return binding.chown(pathModule.toNamespacedPath(path), 1054 chown,
|
/third_party/ltp/testcases/kernel/fs/fs_perms/ |
H A D | fs_perms.c | 98 if (chown(file_name, user_id, group_id)) in testsetup() 100 "Could not chown test file %s.", file_name); in testsetup()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_tst_16.h | 153 TST_CREATE_SYSCALL(chown, path, owner, group); in CHOWN()
|
H A D | compat_16.h | 166 LTP_CREATE_SYSCALL(chown, cleanup, path, owner, group); in CHOWN()
|
/third_party/toybox/toys/other/ |
H A D | makedevs.c | 109 if (chown(ptr, uid, gid) || chmod(ptr, mode)) in makedevs_main() 110 perror_msg("line %d: can't chown/chmod '%s'", line_no, ptr); in makedevs_main()
|
/third_party/skia/bin/ |
H A D | fetch-sk | 94 os.chown(sk_path, uid, gid)
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_new_test.c | 131 result = chown("/dev/null", 0, -1); in test_chown_dev_null() 136 result = chown("/dev/null", -1, 0); in test_chgrp_dev_null() 427 NULL, test_chown_dev_null, NULL, "file::chown", 436 "file::chown", "allow_chown @CHOWN_TARGET @CHOWN_IDS"}, {
|
/third_party/python/Lib/test/ |
H A D | test_shutil.py | 1738 @unittest.skipUnless(hasattr(os, 'chown'), 'requires os.chown') 1742 write_file(filename, 'testing chown function') 1745 shutil.chown(filename) 1748 shutil.chown(filename, user='non-existing username') 1751 shutil.chown(filename, group='non-existing groupname') 1754 shutil.chown(filename, b'spam') 1757 shutil.chown(filename, 3.14) 1769 shutil.chown(filename, uid, gid) 1771 shutil.chown(filenam [all...] |
/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 504 chown(&path, uid, gid).unwrap(); in test_chown() 505 chown(&path, uid, None).unwrap(); in test_chown() 506 chown(&path, None, gid).unwrap(); in test_chown() 509 chown(&path, uid, gid).unwrap_err(); in test_chown()
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse.h | 125 int (*chown) (const char *, uid_t, gid_t); member
|