Versions Compared

Key

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



Interface: mkdtemp ( in file pbs_dshutils.py)

Visibility: public

change control: stable


Motivation for change: Currently Currently, mkdtemp is not working as how it should work when user is trying to create a directory as another user. It creates the directory and do a chown to the specified user. However, it may fail as only root can run chown. We also need to make this interface consistent with create_temp_file().


Summary: Create a temp dir by calling "tempfile.mkdtemp"

...