441 |
SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs) |
SetConnections.UpdateGlobal('fsync_directories', dest_fsa.fsync_dirs) |
442 |
SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', dest_fsa.ownership) |
443 |
SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote) |
SetConnections.UpdateGlobal('chars_to_quote', dest_fsa.chars_to_quote) |
444 |
|
if not dest_fsa.high_perms: |
445 |
|
SetConnections.UpdateGlobal('permission_mask', 0777) |
446 |
if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals() |
if Globals.chars_to_quote: FilenameMapping.set_init_quote_vals() |
447 |
|
|
448 |
def backup_touch_curmirror_local(rpin, rpout): |
def backup_touch_curmirror_local(rpin, rpout): |
548 |
if Globals.preserve_hardlinks != 0: |
if Globals.preserve_hardlinks != 0: |
549 |
SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks) |
SetConnections.UpdateGlobal('preserve_hardlinks', target_fsa.hardlinks) |
550 |
SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', target_fsa.ownership) |
551 |
|
if not target_fsa.high_perms: |
552 |
|
SetConnections.UpdateGlobal('permission_mask', 0777) |
553 |
|
|
554 |
if Globals.chars_to_quote is None: # otherwise already overridden |
if Globals.chars_to_quote is None: # otherwise already overridden |
555 |
if mirror_fsa.chars_to_quote: |
if mirror_fsa.chars_to_quote: |
730 |
SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks) |
SetConnections.UpdateGlobal('preserve_hardlinks', fsa.hardlinks) |
731 |
SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs) |
SetConnections.UpdateGlobal('fsync_directories', fsa.fsync_dirs) |
732 |
SetConnections.UpdateGlobal('change_ownership', fsa.ownership) |
SetConnections.UpdateGlobal('change_ownership', fsa.ownership) |
733 |
|
if not fsa.high_perms: SetConnections.UpdateGlobal('permission_mask', 0777) |
734 |
SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote) |
SetConnections.UpdateGlobal('chars_to_quote', fsa.chars_to_quote) |
735 |
if Globals.chars_to_quote: |
if Globals.chars_to_quote: |
736 |
for conn in Globals.connections: |
for conn in Globals.connections: |