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 109950 - automatic alternate temp dir
automatic alternate temp dir
Status: RESOLVED FIXED
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
unspecified
Other other
: Normal normal
: ---
Assigned To: Nautilus CD Burner Maintainers
Nautilus CD Burner Maintainers
: 112038 160628 (view as bug list)
Depends on:
Blocks: 342342
 
 
Reported: 2003-04-04 08:55 UTC by Bastien Nocera
Modified: 2006-05-20 20:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
possible patch (3.81 KB, patch)
2003-09-02 16:23 UTC, Bastien Nocera
none Details | Review
patch now returns an error if the second try failed as well (3.90 KB, patch)
2003-09-02 17:16 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2003-04-04 08:55:40 UTC
nautilus-cd-burner should use $HOME if /tmp doesn't have enough room, and
$HOME is local.

Discussion:
"The statfs()->f_type field is linux-specific though, so make sure you
#ifdef it properly."
Comment 1 Shane Butler 2003-05-19 04:22:31 UTC
Another suggestion is a GConf string or some such to set the tmp dir.  

Bug 112038 is basically a dup.  
Comment 2 Shane Butler 2003-05-19 04:22:43 UTC
*** Bug 112038 has been marked as a duplicate of this bug. ***
Comment 3 Egle K. 2003-08-15 22:45:04 UTC
I think both -  automatic falback to $HOME, whitch should be used as
Gconf strink are needed :)

Then advanced users can change Gconf string value from $HOME to
needed, but most users will hapy with default value - $HOME :)
Comment 4 Bastien Nocera 2003-09-02 16:23:33 UTC
Created attachment 19665 [details] [review]
possible patch
Comment 5 Bastien Nocera 2003-09-02 17:16:11 UTC
Created attachment 19666 [details] [review]
patch now returns an error if the second try failed as well
Comment 6 Bastien Nocera 2003-09-02 18:15:31 UTC
Alex, should we use a gconf key to know where to put the temp ISO
image, or use this type of patch, above?
Comment 7 Bastien Nocera 2003-09-03 12:44:48 UTC
Use /apps/nautilus-cd-burner/temp_iso_dir to configure the tmp dir

2003-09-03  Bastien Nocera  <hadess@hadess.net>
                                                                     
          
        * configure.in: add gconftool-2 detection
        * .cvsignore: updated
        * Makefile.am: added schemas file
        * make-iso.c: (make_iso):
        * make-iso.h:
        * nautilus-cd-burner.c: (burn_cd):
        * nautilus-cd-burner.h: modified to try to write the temporary
        ISO image in the user-supplied directory, then in the system tmp
        directory and finally in the user's home directory (Closes:
#109950)
        * ncb.schemas.in: added
Comment 8 Bastien Nocera 2004-12-06 22:52:59 UTC
*** Bug 160628 has been marked as a duplicate of this bug. ***