piscsi icon indicating copy to clipboard operation
piscsi copied to clipboard

Cleaner handling of tmp files in Web Interface

Open rdmark opened this issue 4 years ago • 0 comments

The 'download_to_iso' method in the Web Interface currently manually creates tmp files under /tmp and does not clean them up afterwards. Also, when unzipping a tmp file, we store the resulting files into /tmp as well.

Some ideas include: Using the python tempfile library. Piping the python file-like object to unzip or genisoimage. Piping the output of unzip into genisoimage.

See https://github.com/akuker/RASCSI/pull/525 for previous discussion.

rdmark avatar Dec 19 '21 23:12 rdmark