search for: perms_differ

Displaying 2 results from an estimated 2 matches for "perms_differ".

2011 Jun 25
1
[Bug 8268] New: Wrong unchanged_attrs test for symlink ownership
...n: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: matt at mattmccutchen.net QAContact: rsync-qa at samba.org >From unchanged_attrs: #ifdef CAN_CHMOD_SYMLINK if (perms_differ(file, sxp)) return 0; #endif #ifndef CAN_CHOWN_SYMLINK if (ownership_differs(file, sxp)) return 0; #endif Seems like the #ifndef should be another #ifdef. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail...
2023 May 17
1
[PATCH] Add --omit-{device,special}-times options
...+ int keep_time = !preserve_mtimes ? 0 + : S_ISDIR(file->mode) ? !omit_dir_times + : IS_DEVICE(file->mode) ? !omit_device_times + : IS_SPECIAL(file->mode) ? !omit_special_times + : 1; + if (keep_time && any_time_differs(sxp, file, fname)) return 0; if (perms_differ(file, sxp)) return 0; @@ -509,6 +516,8 @@ void itemize(const char *fnamecmp, struct file_struct *file, int ndx, int statret, int keep_time = !preserve_mtimes ? 0 : S_ISDIR(file->mode) ? !omit_dir_times : S_ISLNK(file->mode) ? !omit_link_times + : IS_DEVICE(file->m...