rmt icon indicating copy to clipboard operation
rmt copied to clipboard

rmt-cli mirror should use better temporary directory

Open olafhering opened this issue 9 months ago • 0 comments

It seems that all files are downloaded to /tmp before they are moved to /usr/share/rmt/public/repo/.

Since the directory /usr/share/rmt/public/repo/ points to the actual storage (the RMT admin owns that symlink), it can easily happen that rmt-cli mirror will run into ENOSPC because /tmp may be too small.

I suggest to use /usr/share/rmt/public/repo/.tmp as temporary storage, unless TMPDIR is already set.

olafhering avatar May 03 '24 09:05 olafhering