Lines Matching full:chmod
22 # Creating test files to test chmod command
28 chmod 777 $T 2>/dev/null
37 testing "$U$G$O $T" "chmod $U$G$O $T && ls -ld $T | cut -d' ' -f 1" \
43 testing "750 dir 640 file" "chmod 750 dir 640 file &&
49 chmod -fR 700 dir file 2>/dev/null
52 "chmod $1 dir file && ls -ld dir file | cut -d' ' -f 1 | cut -d. -f 1" \
107 chmod +s s-supported 2>/dev/null || SKIP=99
122 "mkdir -m 000 Xd && touch Xf && chmod +X Xd Xf && ls -ld Xd Xf | cut -d' ' -f 1" \
127 # If you explicitly ask us, we'll try (and fail) to chmod a symlink.
128 testing "-R symlink arg" 'chmod -R 750 foo/baz 2>/dev/null; echo $?' "1\n" "" ""
130 testing "-R symlink recurse" 'chmod -R 750 foo; echo $?' "0\n" "" ""