SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Help & Support (Stable) » rm moves files to trash » 2012-08-26 14:35:59

Awebb wrote:

Have a look at the usual suspects like $HOME/{.bashrc,.bash_profile}, /etc/bashrc and so on. There might be an alias hidden somewhere. I really hope it's something else, this would be... depressing.

Did that already (that's what I meant by "it does not seem to be a bash alias".

machinebacon wrote:

I had a similar issue with a fixed-mounted folder in virtualbox. It created another Trash on another partition (the hidden .Trash folder, you know), and my trashed files were moved there, and not the root partition. So check every drive, every partition.

Good catch ! It indeeds only happens to files in a mounted directory. I have only one partition, so I can't have the same issue as you.

Still, who's the culprit ? Given the behaviour, cifs seems like a likely suspect. It might also come from the virtualbox guest additions.

#2 Help & Support (Stable) » rm moves files to trash » 2012-08-26 12:13:10

norswap
Replies: 4

So I figured recently that rm moved files to the Thunar trash (.local/share/Trash) by getting a nice "disk full" warning on my meager virtualbox disk.

By all means, I believes it's a good idea, but it's a shame that it isn't documented anywhere. Anywhere that I could find however (if you know where I could have found this info, please tell).

So anyway my question is "how does this thing work". I mean: what enables the copying behaviour ? It does not seem to be a bash alias, and "rm --help" and "rm --version" seem normal. Is it a patched version of the rm tool, or does the user interface somehow capture system calls related with file deletion ?

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo