Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Unpacking .tar.gz with emelFM, Issue using emelFM as superuser< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 10 2007,12:16 QUOTE

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?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 10 2007,15:05 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Nov. 10 2007,12:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Unpacking .tar.gz with emelFM

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code