! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unable to find or create wastebasket directory
Status:
RESOLVED: WORKSFORME

Comments

Description Matteo 'Peach' Pescarin 2011-05-14 17:29:21 CEST
when mounting ntfs formatted drives via Thunar and trying to delete files from them I get an error saying:

"Unable to find or create wastebasket directory"

everything else works just fine and from the commandline I can delete files without problems.

There has been a solution posted on the archlinux forums (https://bbs.archlinux.org/viewtopic.php?pid=901235) that suggests to manually mount the drives with ownership to the user, although that fixes it, this isn't the right solution as it's not flexible and not usable with drives mounted via Thunar.

I was wondering if there was anything I could set on the dbus conf or in the thunar conf to fix this behaviour.
Comment 1 Matteo 'Peach' Pescarin 2011-05-17 00:34:33 CEST
it must be noted that the word "wastebasket" seems to come from the en_GB charset in use on my laptop, a more common word would have been "trash" probably.
Comment 2 Matteo 'Peach' Pescarin 2012-12-18 13:02:30 CET
Any update on this?

As stated in my original post the problem arises from auto-mounted drives.

The solution provided in the Archlinux thread works only when manually mounting drives, and thus can't be a real solution to the problem.

the output of a couple of commands follows (sorry if I did forget about it in the past):

# mount | grep sdd
/dev/sdd1 on /media/Rugged Mini type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
# ls -ld /media/Rugged\ Mini/
drwxrwxrwx 1 root root 4096 Dec 18 11:42 /media/Rugged Mini/

I can create files via Thunar within the drive with the normal user without problems. 
When deleting, Thunar is complaining about being unable to find the trashcan/wastebasket.

It would be a huge step for UX to have (at least) a simple solution implemented: delete the file permanently after warning the user about it.

Hardest (I guess, given the time this bug's open) solution would be to actually solve the problem and be able to create a trashcan/wastebasket without complaining too much.
Comment 3 David Segura M 2012-12-18 16:49:18 CET
For me it was a case of incorrect permissions when putting it on the fstab, now I do it in this way:

#Windows
UUID=E474BD9C74BD71C2  /media/Windows  ntfs  defaults,uid=1000,gid=1000,noatime  0  0

And the problem was gone, no more warnings about the can not found the trash. besides which version of Thunar are you using? because the one in Xfce 4.10 ( I think is 1.4) the only problem when you do this is that the partition no longer appears on the side panel, but is just a matter of going to /media/ and bookmarking it.
Comment 4 Harald Judt editbugs 2015-04-17 16:20:09 CEST
Closing.

Bug #7622

Reported by:
Matteo 'Peach' Pescarin
Reported on: 2011-05-14
Last modified on: 2015-04-17

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Attachments

Additional information