Unpacking .tar.gz with emelFM


Forum: User Feedback
Topic: Unpacking .tar.gz with emelFM
started by: Juanito

Posted by Juanito on Nov. 10 2007,12:16
I often use emelFM to unpack .tar.fz files by double-clicking to see what's inside. If I use emelFM as super user by mistake then emelFM as user will give the following type of error:
Quote
rm: cannot remove `/tmp/.emelfm-unpack/sqlite-3.5.2': Permission denied

This can be fixed by:
Quote
$ sudo rm -r /tmp/.emelfm-unpack/sqlite-3.5.2

- Is this a problem of emelFM not cleaning up after itself?

Posted by mikshaw on Nov. 10 2007,15:05
Probably, but it seems a LOT of applications leave their temp files behind, expecting you to take care of them with your regularly scheduled mantenance. The problem here, as far as I see it, is more in the way emelfm creates the temp files rather than the way it removes them. As with a handful of other programs, it seems to assume a single-user system, with a single set of temp files. A more considerate application would create .emelfm-unpack-$USER, or  .emelfm-unpack-$UID, instead of just .emelfm-unpack

You could add sudo rm -rf /tmp/.emelfm-unpack/* to your emelfm launcher (icon, menu item, whatever you use) so it would automatically remove previous temp files, if this happens often enough to annoy you.

Personally I dislike the way Emelfm handles archives. I find it very annoying that it would suggest repacking temp files over the original, particularly in the majority of cases where the files haven't been touched in the first place.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.