Displaying 1 result from an estimated 1 matches for "set_file_perms".
2006 Apr 24
5
DO NOT REPLY [Bug 3718] New: RSync should verify permission/time before commiting a change
...temp file
(finish_transfer @ rsync.c), it changes the file attributes (using
'set_file_Attrs'). However, it does not check if the file attributes were
updated succesfully. As a result, it may leave files with the wrong
timestamp/ownership or permission.
My suggested solution is to modify set_file_perms- return 0 for no change, 1
for changes and -1 for error. finish_transfer can than check for failures, and
remove the temp file if the permission/ownership/timestamp is not correct.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail becaus...