search for: attrs_skip_mtim

Displaying 3 results from an estimated 3 matches for "attrs_skip_mtim".

Did you mean: attrs_skip_mtime
2006 Nov 12
1
Superfluous error msgs: "failed to set times ..."
When rsync'ing to an Ext2 file system (via SSH), then I frequently get error messages such as "failed to set times ...". AFAICS, these error messages are caused by rsync trying to change the time (and permissions, ownership) of symbolic links, which according to my knowledge is not possible on Ext2. Is there any way to get rid of these supposedly superfluous error messages? rsync
2008 Feb 15
4
Revised flags patch
...mode)) + return; + + if (fileflags & NOCHANGE_FLAGS) + set_fileflags(fname, fileflags); +} +#endif + int set_file_attrs(const char *fname, struct file_struct *file, stat_x *sxp, const char *fnamecmp, int flags) { @@ -391,6 +437,9 @@ int set_file_attrs(const char *fname, st flags |= ATTRS_SKIP_MTIME; if (!(flags & ATTRS_SKIP_MTIME) && cmp_time(sxp->st.st_mtime, file->modtime) != 0) { +#ifdef SUPPORT_FLAGS + make_mutable(fname, sxp->st.st_mode, sxp->st.st_flags); +#endif int ret = set_modtime(fname, file->modtime, sxp->st.st_mode); if (ret < 0) {...
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...IR(sxp->st.st_mode)) - || (omit_link_times && S_ISLNK(sxp->st.st_mode))) + || (omit_link_times && S_ISLNK(sxp->st.st_mode)) + || (omit_device_times && IS_DEVICE(sxp->st.st_mode)) + || (omit_special_times && IS_SPECIAL(sxp->st.st_mode))) flags |= ATTRS_SKIP_MTIME | ATTRS_SKIP_ATIME | ATTRS_SKIP_CRTIME; else { if (!preserve_mtimes)