After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153642 - Temporary files are created on the current directory
Temporary files are created on the current directory
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2004-09-24 13:31 UTC by Sebastien Bacher
Modified: 2006-08-18 07:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch I think fixes this (934 bytes, patch)
2006-04-27 13:36 UTC, Vassilis Pandis
none Details | Review

Description Sebastien Bacher 2004-09-24 13:31:34 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."
Comment 1 Sven Arvidsson 2004-11-30 14:44:43 UTC
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"
Comment 2 Daniel Kasak 2006-02-21 00:21:37 UTC
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
Comment 3 Vassilis Pandis 2006-04-27 13:36:53 UTC
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.
Comment 4 Daniel Holbach 2006-08-02 11:38:43 UTC
Ubuntu bug is now: https://launchpad.net/distros/ubuntu/+source/file-roller/+bug/8328
Comment 5 Benoît Dejean 2006-08-13 07:22:22 UTC
i cannot reproduce with 2.14.3.
Comment 6 Paolo Bacchilega 2006-08-18 07:35:52 UTC
fixed making the temp file hidden.