/third_party/ltp/testcases/kernel/syscalls/nftw/ |
H A D | tools.c | 49 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 50 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 51 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function() 122 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 124 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333"); in setup_path() 130 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 132 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d666"); in setup_path() 138 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path() 140 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/dirg/dir_right.1"); in setup_path()
|
H A D | tools64.c | 48 chmod("./tmp/data/d333", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 49 chmod("./tmp/data/d666", (mode_t) S_IRWXU | S_IRWXG | S_IRWXO); in cleanup_function() 50 chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IRWXU | S_IRWXG | in cleanup_function() 121 if (chmod("./tmp/data/d333", (mode_t) S_IWUSR | S_IXUSR | S_IWGRP | in setup_path() 123 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333"); in setup_path() 129 if (chmod("./tmp/data/d666", (mode_t) S_IRUSR | S_IWUSR | S_IRGRP | in setup_path() 131 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d666"); in setup_path() 137 if (chmod("./tmp/data/dirg/dir_right.1", (mode_t) S_IWUSR | S_IXUSR | in setup_path() 139 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/dirg/dir_right.1"); in setup_path()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | chmod.c | 29 int result = chmod("test.txt", in chmod_0100() 48 int result = chmod("test.txt", S_IRWXU | S_IRWXG | S_IRWXO); in chmod_0200() 62 int result = chmod("data/AAA.txt", in chmod_0300()
|
/third_party/libfuse/test/ |
H A D | ci-build.sh | 17 chmod 0755 "${TEST_DIR}" 50 sudo chmod 4755 util/fusermount3 76 sudo chmod 4755 util/fusermount3
|
/third_party/python/Lib/test/ |
H A D | test_stat.py | 121 os.chmod(TESTFN, 0o700) 128 os.chmod(TESTFN, 0o070) 135 os.chmod(TESTFN, 0o007) 142 os.chmod(TESTFN, 0o444) 148 os.chmod(TESTFN, 0o700) 158 os.chmod(TESTFN, 0o700)
|
H A D | test__osx_support.py | 46 os.chmod(self.prog_name, stat.S_IRWXU) 58 os.chmod(self.prog_name, stat.S_IRWXU) 149 os.chmod(c_name, stat.S_IRWXU) 228 os.chmod(c_name, stat.S_IRWXU)
|
H A D | test_netrc.py | 290 os.chmod(fn, 0o600) 294 os.chmod(fn, 0o622) 303 os.chmod(fn, 0o600) 307 os.chmod(fn, 0o622)
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/ |
H A D | stat_chmod_test.cpp | 13 * @tc.desc: Verify that the "chmod" function successfully changes the permission bits of a file without 22 EXPECT_EQ(chmod("test_chmod", mode), 0); in HWTEST_F() 28 * @tc.desc: Assist in the verification and validation of software that relies on the "chmod" function for file 34 EXPECT_EQ(-1, chmod(nullptr, 0)); in HWTEST_F()
|
/third_party/protobuf/python/ |
H A D | release.sh | 22 chmod +x test-venv/bin/protoc 52 find python -type d -exec chmod a+r,a+x {} + 53 find python -type f -exec chmod a+r {} +
|
/third_party/ltp/testcases/network/nfs/nfs_stress/ |
H A D | nfs02.sh | 43 ROD chmod a-wx ascii.sm 45 ROD chmod a+w ascii.sm
|
/third_party/python/Mac/BuildScript/scripts/ |
H A D | postflight.ensurepip | 31 chmod -R g+w "${FWK}/lib/python${PYVER}/site-packages" "${FWK}/bin" 51 chmod -h g+w "./${fn}"
|
/third_party/ltp/testcases/kernel/fs/fs_di/ |
H A D | fs_di | 172 chmod 777 $TCtmp 174 chmod 777 $TESTFS 225 chmod -R 777 $TESTFS
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_spawn.py | 34 os.chmod(exe, 0o777) 45 os.chmod(exe, 0o777) 59 os.chmod(filename, stat.S_IXUSR)
|
/third_party/ltp/testcases/commands/which/ |
H A D | which01.sh | 17 chmod +x pname 22 chmod +x bin/pname
|
/third_party/python/Tools/scripts/ |
H A D | mkreal.py | 28 os.chmod(name, mode) 37 os.chmod(name, mode)
|
/third_party/node/test/parallel/ |
H A D | test-trace-events-fs-async.js | 31 function chmod() { function 34 fs.chmod('fs1.txt', 100, () => { 271 tests.chmod = wrapper(chmod);
|
H A D | test-fs-promises.js | 12 chmod, 217 await chmod(dest, 0o666); 218 await handle.chmod(0o666); 220 await chmod(dest, (0o10777)); 221 await handle.chmod(0o10777);
|
H A D | test-fs-chmod-mask.js | 11 // On Windows chmod is only able to manipulate write permission 29 const file = path.join(tmpdir.path, `chmod-async-${suffix}.txt`); 32 fs.chmod(file, input, common.mustSucceed(() => {
|
H A D | test-fs-null-bytes.js | 57 check(fs.chmod, fs.chmodSync, 'foo\u0000bar', '0644'); 92 check(fs.chmod, fs.chmodSync, fileUrl, '0644'); 124 check(fs.chmod, fs.chmodSync, fileUrl2, '0644');
|
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
H A D | host_run.sh | 133 chmod 600 $host_key_pub 134 chmod 600 $host_key_priv 218 chmod 700 $mnt/root/.ssh 231 chmod a+x $mnt/$kvm_ras
|
/third_party/toybox/scripts/ |
H A D | runtest.sh | 177 chmod +x "$dest/$i" 209 chmod +x tmpdir4chroot/test.sh
|
/third_party/skia/third_party/externals/freetype/ |
H A D | autogen.sh | 169 chmod +x install-sh 173 chmod +x ./configure
|
/third_party/skia/infra/bots/ |
H A D | test_utils.py | 28 os.chmod(dname, mode) 35 os.chmod(fname, mode)
|
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
H A D | run_cpuctl_stress_test.sh | 162 chmod +x cpuctl_task_$TASK_NUM; 226 chmod +x cpuctl_task_$TASK_NUM; 307 chmod +x cpuctl_task_$TASK_NUM;
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 53 fs.chmod = chmodFix(fs.chmod) 74 if (fs.chmod && !fs.lchmod) { 175 // prefer to return the chmod error, if one occurs, 188 // prefer to return the chmod error, if one occurs,
|