Home
last modified time | relevance | path

Searched refs:chmod (Results 1 - 25 of 262) sorted by relevance

1234567891011

/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtools.c49 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 Dtools64.c48 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 Dchmod.c29 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 Dci-build.sh17 chmod 0755 "${TEST_DIR}"
50 sudo chmod 4755 util/fusermount3
76 sudo chmod 4755 util/fusermount3
/third_party/python/Lib/test/
H A Dtest_stat.py121 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 Dtest__osx_support.py46 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 Dtest_netrc.py290 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 Dstat_chmod_test.cpp13 * @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 Drelease.sh22 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 Dnfs02.sh43 ROD chmod a-wx ascii.sm
45 ROD chmod a+w ascii.sm
/third_party/python/Mac/BuildScript/scripts/
H A Dpostflight.ensurepip31 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 Dfs_di172 chmod 777 $TCtmp
174 chmod 777 $TESTFS
225 chmod -R 777 $TESTFS
/third_party/python/Lib/distutils/tests/
H A Dtest_spawn.py34 os.chmod(exe, 0o777)
45 os.chmod(exe, 0o777)
59 os.chmod(filename, stat.S_IXUSR)
/third_party/ltp/testcases/commands/which/
H A Dwhich01.sh17 chmod +x pname
22 chmod +x bin/pname
/third_party/python/Tools/scripts/
H A Dmkreal.py28 os.chmod(name, mode)
37 os.chmod(name, mode)
/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js31 function chmod() { function
34 fs.chmod('fs1.txt', 100, () => {
271 tests.chmod = wrapper(chmod);
H A Dtest-fs-promises.js12 chmod,
217 await chmod(dest, 0o666);
218 await handle.chmod(0o666);
220 await chmod(dest, (0o10777));
221 await handle.chmod(0o10777);
H A Dtest-fs-chmod-mask.js11 // 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 Dtest-fs-null-bytes.js57 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 Dhost_run.sh133 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 Druntest.sh177 chmod +x "$dest/$i"
209 chmod +x tmpdir4chroot/test.sh
/third_party/skia/third_party/externals/freetype/
H A Dautogen.sh169 chmod +x install-sh
173 chmod +x ./configure
/third_party/skia/infra/bots/
H A Dtest_utils.py28 os.chmod(dname, mode)
35 os.chmod(fname, mode)
/third_party/ltp/testcases/kernel/controllers/cpuctl/
H A Drun_cpuctl_stress_test.sh162 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 Dpolyfills.js53 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,

Completed in 12 milliseconds

1234567891011