GNOME Bugzilla – Bug 342342
Serpentine creates temp files in home
Last modified: 2006-06-03 00:58:01 UTC
This bug was reported by an Ubuntu user. The original bug report can be found here : https://launchpad.net/distros/ubuntu/+source/serpentine/+bug/43758 Serpentine creates temporary files in the home directory. This is not ideal. To begin with, it clutters the user directory. Furthermore, if the home directory is mounted over a network, this creates unneccessary network traffic. It would be nicer if Serpentine used /tmp for temporary files. Thanks.
Serpentine uses the GConf key '/apps/nautilus-cd-burner/temp_iso_dir' to locate the directory to use as temporary. If the user does not have that key set it uses $TMP[1] directory instead. See bug #316527 for further issues on this subject. This looks like a "misconfiguration" somewhere which set the key to $HOME. [1] - http://www.python.org/doc/2.4/lib/module-tempfile.html#l2h-2181
I see this happening with the '/apps/nautilus-cd-burner/temp_iso_dir' key unset.
One thing I could do is what nautilus-cd-burner does, which is to prefix all files with a dot making them hidden files. Do you prefer that? Can you open a terminal and run the 'python' program and then run this two lines: import tempfile print tempfile.gettempdir()
If the files are in $HOME, hiding them would only hide the problem. The temp files would still be included in backups, for example; and 700MB is a lot to include in incremental backups. --- >>> import tempfile >>> print tempfile.gettempdir() /tmp
Have you read bug #316527, bug #138699 and bug #109950? I am going to honour the GConf key. Currently it's being fallbacked to /tmp as appropriate. However one problem is that it's not using the tempfile.gettempdir() function as it should. What's the value you have on that key?
Do you mean the '/apps/nautilus-cd-burner/temp_iso_dir' key ? -- $ gconftool-2 --get /apps/nautilus-cd-burner/temp_iso_dir -- As you can see, it is blank
OK, the temporary directory algorithm is currently suboptimal, i'm going to fix it. Thanks for your bug report, which emphatizes the problem.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.