Home
last modified time | relevance | path

Searched full:chmod (Results 1 – 25 of 713) sorted by relevance

12345678910>>...29

/third_party/toybox/tests/
Dchmod.test22 # Creating test files to test chmod command
44 testing "$u$g$o $type" "chmod $u$g$o $type &&
52 "chmod 750 dir 640 file 2>/dev/null ||
57 "chmod 666 dir file &&
61 testing "765 *" "chmod 765 * &&
66 testing "u=r dir file" "chmod u=r dir file &&
70 testing "u=w dir file" "chmod u=w dir file &&
74 testing "u=x dir file" "chmod u=x dir file &&
78 testing "u+r dir file" "chmod u+r dir file &&
82 testing "u+w dir file" "chmod u+w dir file &&
[all …]
/third_party/toybox/porting/liteos_a/toys/posix/
Dchmod.c1 /* chmod.c - Change file mode bits
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/chmod.html
7 USE_CHMOD(NEWTOY(chmod, "<2?vRf[-vf]", TOYFLAG_BIN))
9 config CHMOD
10 bool "chmod"
13 usage: chmod MODE FILE...
31 chmod u+w file - allow owner of "file" to write to it.
32 chmod 744 file - user can read/write/execute, everyone else read only
51 printf("chmod '%s' to %04o\n", s, mode);
/third_party/toybox/toys/posix/
Dchmod.c1 /* chmod.c - Change file mode bits
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/chmod.html
7 USE_CHMOD(NEWTOY(chmod, "<2?vRf[-vf]", TOYFLAG_BIN))
9 config CHMOD
10 bool "chmod"
13 usage: chmod [-R] MODE FILE...
31 chmod u+w file - allow owner of "file" to write to it.
32 chmod 744 file - user can read/write/execute, everyone else read only
51 printf("chmod '%s' to %04o\n", s, mode);
/third_party/skia/infra/bots/recipe_modules/docker/examples/full.expected/
Dtest.json40 "chmod",
45 "name": "Docker setup.chmod 777 /host-out",
52 "chmod",
57 "name": "Docker setup.chmod 755 /host-src",
64 "chmod",
69 "name": "Docker setup.chmod 0755 ./do-stuff.sh",
111 "chmod",
116 "name": "Docker setup.chmod 644 /copy-dst/myfile",
123 "chmod",
129 "name": "Docker setup.chmod -R a+r /host-src",
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c13 * 1) chmod(2) returns -1 and sets errno to EPERM if the effective user id
16 * 2) chmod(2) returns -1 and sets errno to EACCES if search permission is
18 * 3) chmod(2) returns -1 and sets errno to EFAULT if pathname points
20 * 4) chmod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname
22 * 5) chmod(2) returns -1 and sets errno to ENOTDIR if the directory
24 * 6) chmod(2) returns -1 and sets errno to ENOENT if the specified file
75 TEST(chmod(tc[i].pathname, tc[i].mode)); in run()
81 tst_res(TFAIL, "chmod succeeded unexpectedly"); in run()
86 tst_res(TPASS | TTERRNO, "chmod failed as expected"); in run()
88 tst_res(TFAIL | TTERRNO, "chmod failed unexpectedly; " in run()
Dchmod07.c10 * Verify that, chmod(2) will succeed to change the mode of a file/directory
18 * chmod() should return value 0 on success and succeeds to set sticky bit
43 * Call chmod(2) with specified mode argument in test_chmod()
46 TEST(chmod(TESTFILE, PERMS)); in test_chmod()
48 tst_brk(TFAIL | TTERRNO, "chmod(%s, %#o) failed", in test_chmod()
58 tst_res(TPASS, "Functionality of chmod(%s, %#o) successful", in test_chmod()
Dchmod05.c10 * Verify that, chmod(2) will succeed to change the mode of a directory
18 * chmod() should return value 0 on success and though succeeds to change
52 TEST(chmod(TESTDIR, PERMS)); in test_chmod()
54 tst_res(TFAIL, "chmod(%s, %#o) failed", TESTDIR, PERMS); in test_chmod()
65 tst_res(TPASS, "Functionality of chmod(%s, %#o) successful", in test_chmod()
/third_party/skia/infra/bots/recipes/perf_pathkit.expected/
Dpathkit_trybot.json81 "chmod",
86 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
93 "chmod",
98 "name": "Docker setup.chmod 755 [START_DIR]",
105 "chmod",
110 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/perf_pathkit.sh",
152 "chmod",
157 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js",
199 "chmod",
204 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm",
[all …]
DPerf-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Release-All-PathKit.json81 "chmod",
86 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
93 "chmod",
98 "name": "Docker setup.chmod 755 [START_DIR]",
105 "chmod",
110 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/perf_pathkit.sh",
152 "chmod",
157 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-asmjs/bin/pathkit.js",
199 "chmod",
204 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-asmjs/bin/pathkit.js.mem",
[all …]
DPerf-Debian10-EMCC-GCE-CPU-AVX2-wasm-Release-All-PathKit.json81 "chmod",
86 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
93 "chmod",
98 "name": "Docker setup.chmod 755 [START_DIR]",
105 "chmod",
110 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/perf_pathkit.sh",
152 "chmod",
157 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js",
199 "chmod",
204 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm",
[all …]
/third_party/skia/infra/bots/recipes/test_pathkit.expected/
Dpathkit_trybot.json40 "chmod",
45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
52 "chmod",
57 "name": "Docker setup.chmod 755 [START_DIR]",
64 "chmod",
69 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/test_pathkit.sh",
111 "chmod",
116 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/test/pathkit.js",
158 "chmod",
163 … "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/test/pathkit.wasm",
[all …]
DTest-Debian10-EMCC-GCE-CPU-AVX2-wasm-Debug-All-PathKit.json40 "chmod",
45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
52 "chmod",
57 "name": "Docker setup.chmod 755 [START_DIR]",
64 "chmod",
69 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/test_pathkit.sh",
111 "chmod",
116 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/test/pathkit.js",
158 "chmod",
163 … "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/test/pathkit.wasm",
[all …]
DTest-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Release-All-PathKit.json40 "chmod",
45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
52 "chmod",
57 "name": "Docker setup.chmod 755 [START_DIR]",
64 "chmod",
69 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/test_pathkit.sh",
111 "chmod",
116 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-asmjs/bin/test/pathkit.js",
158 "chmod",
163 …"name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-asmjs/bin/test/pathkit.js.mem…
[all …]
DTest-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Debug-All-PathKit.json40 "chmod",
45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
52 "chmod",
57 "name": "Docker setup.chmod 755 [START_DIR]",
64 "chmod",
69 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/test_pathkit.sh",
111 "chmod",
116 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-asmjs/bin/test/pathkit.js",
123 "chmod",
129 "name": "Docker setup.chmod -R a+r [START_DIR]/skia",
/third_party/skia/infra/bots/recipes/test_canvaskit.expected/
DTest-Debian10-EMCC-GCE-GPU-WEBGL1-wasm-Debug-All-CanvasKit.json55 "chmod",
60 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
67 "chmod",
72 "name": "Docker setup.chmod 755 [START_DIR]",
79 "chmod",
84 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/canvaskit/test_canvaskit.sh",
126 "chmod",
131 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/canvaskit/npm_build/bin/canvaskit.js",
173 "chmod",
178 … "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/canvaskit/npm_build/bin/canvaskit.wasm",
[all …]
Dcanvaskit_trybot.json55 "chmod",
60 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
67 "chmod",
72 "name": "Docker setup.chmod 755 [START_DIR]",
79 "chmod",
84 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/canvaskit/test_canvaskit.sh",
126 "chmod",
131 "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/canvaskit/npm_build/bin/canvaskit.js",
173 "chmod",
178 … "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/canvaskit/npm_build/bin/canvaskit.wasm",
[all …]
/third_party/skia/infra/bots/recipes/test_lottie_web.expected/
Dlottie_web_trybot.json108 "chmod",
113 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
120 "chmod",
125 "name": "Docker setup.chmod 755 [START_DIR]",
132 "chmod",
137 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/lottiecap/docker/lottiecap_gold.sh",
144 "chmod",
150 "name": "Docker setup.chmod -R a+r [START_DIR]/lottie/build/player",
157 "chmod",
163 "name": "Docker setup.chmod -R a+r /tmp/lottie_files",
DTest-Debian10-none-GCE-CPU-AVX2-x86_64-Debug-All-LottieWeb.json108 "chmod",
113 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
120 "chmod",
125 "name": "Docker setup.chmod 755 [START_DIR]",
132 "chmod",
137 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/lottiecap/docker/lottiecap_gold.sh",
144 "chmod",
150 "name": "Docker setup.chmod -R a+r [START_DIR]/lottie/build/player",
157 "chmod",
163 "name": "Docker setup.chmod -R a+r /tmp/lottie_files",
/third_party/mesa3d/.gitlab-ci/container/debian/
Dx86_build-mingw-patch.sh38 chmod +x /usr/x86_64-w64-mingw32/bin/pkg-config
44 chmod +x /usr/x86_64-w64-mingw32/bin/llvm-config
50 chmod +x /usr/x86_64-w64-mingw32/bin/clang
56 chmod +x /usr/x86_64-w64-mingw32/bin/llvm-as
62 chmod +x /usr/x86_64-w64-mingw32/bin/llvm-link
68 chmod +x /usr/x86_64-w64-mingw32/bin/opt
74 chmod +x /usr/x86_64-w64-mingw32/bin/llvm-spirv
/third_party/libexif/doc/
DMakefile.am52 \( -type d -exec chmod 0755 {} \; \) -or \
53 \( -type f -exec chmod 0644 {} \; \)
67 \( -type d -exec chmod 0755 {} \; \) -or \
68 \( -type f -exec chmod 0644 {} \; \)
82 find $(DOXYGEN_OUTPUT_DIR) \( -type d -exec chmod a+rx,go-w,g+s {} \; \) \
83 -or \( -type f -exec chmod a+r {} \; \)
88chmod g+rwxs,a+rx {} \; \) -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \( -nam…
/third_party/ltp/testcases/kernel/syscalls/nftw/
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()
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/stat_gtest/
Dstat_chmod_test.cpp13 …* @tc.desc: Verify that the "chmod" function successfully changes the permission bits of a file wi…
22 EXPECT_EQ(chmod("test_chmod", mode), 0);
28 …* @tc.desc: Assist in the verification and validation of software that relies on the "chmod" funct…
34 EXPECT_EQ(-1, chmod(nullptr, 0));
/third_party/node/test/parallel/
Dtest-fs-promises-file-handle-chmod.js6 // FileHandle.chmod method.
18 const filePath = path.resolve(tmpDir, 'tmp-chmod.txt');
28 // Chmod in Windows will only toggle read only/write access. The
38 await fileHandle.chmod(newPermissions);
/third_party/node/deps/zlib/google/test/data/
DREADME.md8 chmod a+x 0.txt &&
9 chmod o+x 1.txt &&
10 chmod u+x 2.txt &&

12345678910>>...29