Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In PTL
- the existing interface to create temporary file return file name and file descriptor (FD). If test case create a file as different users than the current user the file FD is invalid as current user can't make use the returned FD.
- For file copy operation PTL by default does copy file with keeping original permission and then change owner and permissions of file

Enhancements:
- New interface to create a temporary file
- update Adding a new parameter 'preserve_permission' to run_copy() to override the default file copy operation to not keep original permission by default this will avoid additional chmod.


New Interfaces

Interface 1: create_temp_file
Visibility: Public
Change Control: Stable

...