GNOME Bugzilla – Bug 153642
Temporary files are created on the current directory
Last modified: 2006-08-18 07:35:52 UTC
This bug has been reported here: https://bugzilla.ubuntu.com/1572 "If you try to create a new compressed file, selecting some files, right click and new compressed file, the temporary files are created in the current directory (for example, on the Desktop). I think this is ugly and the files should be created on a temp directory. Of course, once the compressed file is created, the temporal files dissapear."
Perhaps file-roller could use the same approach as nautilus-cd-burner: "Try different locations to put the temporary ISO image, in order, the path specified in /apps/nautilus-cd-burner/temp_iso_dir, the system temp directory, and the user's home directory"
As well as being 'ugly' as reported above, this approach is far from optimal if you're compressing large files / folders on a network share. It creates an incredible amount of unnecessary network traffic, and slows down the compression job ( as well as the network ). Temporary files should be created in /tmp
Created attachment 64395 [details] [review] Patch I think fixes this patch to correct this issue. /tmp is used (the problem was specific to tar archives as far as I could tell, because get_temp_dir() in src/fr-utils.c gave a "/tmp/blah" temp dir). $ apt-get source file-roller $ cat ~/fr-temp.patch | patch -p0 I apologise for not knowing the preferred patch format. Thanks.
Ubuntu bug is now: https://launchpad.net/distros/ubuntu/+source/file-roller/+bug/8328
i cannot reproduce with 2.14.3.
fixed making the temp file hidden.