...
Interface 2:run_copy
Visibility: Public
Change Control: Stable
Summary: copy a file
Details:
Added a new parameter keep_permission = False.
The existing interface executes cp command with -p flag which preserves owner,group permissions of source file hence updating .
If the param 'keep_permission= False' then run_copy() interface to remove will copy file without keeping original permission (i.e cp without -p flag)
We don't need to explicitly chmod and chown.If the param 'keep_permission= True' then run_copy() will continue existing behavior as it is (i.e cp with -p flag)
...
...