...
Details:
Added a new parameter keeppreserve_permission. Default preserve_permission= FalseTrue.
The existing interface executes cp command with -p flag which preserves owner,group permissions of source file.
If the param 'keeppreserve_permission= False' then run_copy() will copy file without keeping original permission (i.e cp without -p flag).
If the param 'keeppreserve_permission= True' then run_copy() will continue existing behavior as it is (i.e cp with -p flag)
...