450 |
SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs) |
SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs) |
451 |
SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership) |
452 |
SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote) |
SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote) |
453 |
|
if not dest_fsa.high_perms: |
454 |
|
SetConnections.UpdateGlobal('permission_mask', 0777) |
455 |
if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals() |
if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals() |
456 |
|
|
457 |
def backup_touch_curmirror_local(rpin, rpout): |
def backup_touch_curmirror_local(rpin, rpout): |
557 |
if Globals.preserve_hardlinks != 0: |
if Globals.preserve_hardlinks != 0: |
558 |
SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks) |
SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks) |
559 |
SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership) |
560 |
|
if not target_fsa.high_perms: |
561 |
|
SetConnections.UpdateGlobal('permission_mask', 0777) |
562 |
|
|
563 |
if Globals.chars_to_quote is None: # otherwise already overridden |
if Globals.chars_to_quote is None: # otherwise already overridden |
564 |
if mirror_fsa.chars_to_quote: |
if mirror_fsa.chars_to_quote: |
739 |
SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks) |
SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks) |
740 |
SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs) |
SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs) |
741 |
SetConnections.UpdateGlobal('change_ownership', fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', fsa.ownership) |
742 |
|
if not fsa.high_perms: SetConnections.UpdateGlobal('permission_mask', 0777) |
743 |
SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote) |
SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote) |
744 |
if Globals.chars_to_quote: |
if Globals.chars_to_quote: |
745 |
for conn in Globals.connections: |
for conn in Globals.connections: |