Ask Your Question

Trash folder on separate partition?

asked 2017-12-04 21:41:36 +0000

updated 2017-12-06 00:14:54 +0000

Besides my primary partition, I have a second HDD that is mounted at startup as a ntfs partition at mnt/DATA

The issue is that if I delete files from that partition they are not sent into the trash, but they are deleted permanently. I thought that Gnome would have automatically created a trash folder on that partition, but it didn't (the permissions on /mnt/DATA are 777, /mnt has 755).

I also tried manually creating a folder .Trash-$UID in mnt/DATA, but it didn't help. What am I missing?

Edit to answer the comments: by 'deleting' the files I mean selecting them in nautilus and press the 'Delete' key. I would expect this to be equivalent to dragging them to the basket icon.

I expect gnome to be smart and create an appropriate folder because so it does when I plug in a removable drive (with exFat partition). Moreover, I have another system with Ubuntu on it and an extra ntfs partition, and there it works just fine.

One thing I noticed is that the owner of the folder /mnt/DATA is root, and for some reason I couldn't change it to my username. When I used sudo chown on it didn't report any error, but it didn't change the owner either. Is this a relevant clue?

edit retag flag offensive close merge delete


(1/2) First, please clarify what you mean by "delete" files. Are you using the gnome-file manager and dragging and dropping their icon from a graphical folder in the manager to some trash icon in gnome? Are you using "rm" inside of a terminal? Second, if you are using gnome's file manager and dragging the file to the trash icon, why would you expect the trash icon "smartly" refers to two separate filesystem locations, depending on the the original source location (partition) of the file icon you drag into it? If you were to make a folder on your desktop and drag a file from (continued)

lovepump ( 2017-12-05 03:47:14 +0000 )edit

(2/3) some linux partition into it, and then also drag a file from your ntfs partition into it, would you expect gnome to magically create the same folder (and path structure) on your ntfs partition and put it there instead? Third, at least on windows, the NTFS filesystem has specific (peculiar) behavior when "moving" (as opposed to copying, for example) files between partitions, and it is quite possible that in order to behave correctly and not corrupt an NTFS partition that the linux NTFS filesystem driver is mimicing this behavior exactly as a windows system would. (continued)

lovepump ( 2017-12-05 03:57:11 +0000 )edit

It just so happens that your destination partition (the one with the gnome trash location) is probably not NTFS like it would be on windows.

lovepump ( 2017-12-05 04:02:11 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-02-01 19:46:50 +0000

This is not quite an answer, but I write it because it might help. I switched back to Ubuntu, and I had the same issue when I mounted the partition system-wide at startup (the owner of the folder was root and the trash didn't work).

There, I solved the problem by mounting the partition at the start of the session and only as a Per-User mount (following https://help.ubuntu.com/community/Aut... ). The user was then the owner of the folder and the Trash worked just fine. This might solve the issue for Fedora as well, but I am not going to test it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2017-12-04 21:41:36 +0000

Seen: 98 times

Last updated: Dec 06 '17