Lines Matching defs:file
52 /* Print a message for each file that is processed. */
55 /* Print a message for each file whose attributes we change. */
74 /* If true, diagnose surprises from naive misuses like "chmod -r file".
76 "chmod -- -r file". */
114 mode_changed (char const *file, mode_t old_mode, mode_t new_mode)
123 if (stat (file, &new_stats) != 0)
126 error (0, errno, _("getting new attributes of %s"), quote (file));
140 describe_change (const char *file, mode_t mode,
149 quote (file));
169 printf (fmt, quote (file),
175 once for every file system object that fts encounters. */
181 char const *file = ent->fts_accpath;
194 /* For a top-level file or directory, this FTS_NS (stat failed)
197 permissions, it is possible that the file in question is
199 the first time we've seen the FTS_NS for this file, tell
263 if (chmodat (fts->fts_cwd_fd, file, new_mode) == 0)
278 && mode_changed (file, old_mode, new_mode));
381 -v, --verbose output a diagnostic for every file processed\n\
397 of `struct mode_change' and apply that to each file argument. */