Home
last modified time | relevance | path

Searched refs:chown (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/write-file-atomic/lib/
H A Dindex.js94 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 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/libfuse/test/
H A Dci-build.sh49 sudo chown root:root util/fusermount3
75 sudo chown root:root util/fusermount3
/third_party/node/test/parallel/
H A 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 });
H A 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);
H A Dtest-fs-null-bytes.js58 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 Ddiskcache.c127 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 Dpolyfills.js49 fs.chown = chownFix(fs.chown)
80 if (fs.chown && !fs.lchown) {
/third_party/musl/src/unistd/
H A Dchown.c5 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 Dbuild.sh44 # 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 Dbuild.sh44 # 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 Dbuild.sh29 # 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 Dima_conditionals.sh12 TST_NEEDS_CMDS="cat chgrp chown id sg sudo"
39 chown $user $test_file
H A Dima_measurements.sh84 chown $user $dir
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile14 FILTER_OUT_DIRS += capget capset chmod chown clone fork getcontext llseek \
/third_party/node/lib/internal/fs/
H A Dpromises.js156 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 Dfs_perms.c98 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 Dcompat_tst_16.h153 TST_CREATE_SYSCALL(chown, path, owner, group); in CHOWN()
H A Dcompat_16.h166 LTP_CREATE_SYSCALL(chown, cleanup, path, owner, group); in CHOWN()
/third_party/toybox/toys/other/
H A Dmakedevs.c109 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 Dfetch-sk94 os.chown(sk_path, uid, gid)
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_new_test.c131 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 Dtest_shutil.py1738 @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 Dtest_unistd.rs504 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 Dfuse.h125 int (*chown) (const char *, uid_t, gid_t); member

Completed in 12 milliseconds

1234