Lines Matching refs:mode
35 "according to mode, which can be either a symbolic representation "
38 "[+?Symbolic mode strings consist of one or more comma separated list "
39 "of operations that can be perfomed on the mode. Each operation is of "
73 "[+?A numeric mode is from one to four octal digits (0-7), "
84 "[+?For symbolic links, by default, \bchmod\b changes the mode on the file "
86 "The \b-h\b options can be specified to change the mode of the link. "
95 "\b%s: mode changed to %0.4o (%s)\b, with arguments of the "
96 "pathname, the numeric mode, and the resulting permission bits as "
100 "symbolic mode specification, \bchmod\b treats this as a mode "
107 "[R:recursive?Change the mode for files in subdirectories recursively.]"
110 "[h:symlink?Change the mode of the symbolic links on systems that "
112 "[i:ignore-umask?Ignore the \bumask\b(2) value in symbolic mode "
115 "[F:reference?Omit the \amode\a operand and use the mode of \afile\a "
123 "[+>0?Unable to change mode of one or more files.]"
153 register int mode;
205 mode = st.st_mode;
243 mode = strperm(amode, &last, 0);
248 error(ERROR_exit(1), "%s: invalid mode", amode);
278 mode = strperm(amode, &last, ent->fts_statp->st_mode);
279 if (show || (*chmodf)(ent->fts_accpath, mode) >= 0)
281 if (notify == 2 || notify == 1 && (mode&S_IPERM) != (ent->fts_statp->st_mode&S_IPERM))
282 sfprintf(sfstdout, "%s: mode changed to %0.4o (%s)\n", ent->fts_path, mode, fmtmode(mode, 1)+1);
285 error(ERROR_system(0), "%s: cannot change mode", ent->fts_path);