Author Topic: Trash Bin Error  (Read 1640 times)

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Trash Bin Error
« on: December 23, 2011, 07:54:50 AM »
When deleting files/folders in Thunar, or through any other program, I always get the following error message: 'Unable to find or create trash directory'.

How can I fix this before my partitions fill up?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Trash Bin Error
« Reply #1 on: December 23, 2011, 11:55:10 AM »
Post the results of the following commands from a terminal:

su
service --status-all | grep fuse
ls -l /usr/share/gvfs/mounts/trash.mount


Enter exit in the terminal to end the root user session.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Re: Trash Bin Error
« Reply #2 on: December 23, 2011, 12:18:29 PM »
[sorceror@localhost ~]$ su
Password:
[root@localhost sorceror]# service --status-all | grep fuse
   fusectl on /sys/fs/fuse/connections type fusectl (rw)
   gvfs-fuse-daemon on /home/sorceror/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=sorceror)
   /dev/sda9 on /media/Storage 4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
   /dev/sda8 on /media/Storage 3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/etc/wlan/shared: line 71: [: too many arguments
[root@localhost sorceror]# ls -l /usr/share/gvfs/mounts/trash.mount
-rw-r--r-- 1 root root 61 May 13  2011 /usr/share/gvfs/mounts/trash.mount
[root@localhost sorceror]#

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Trash Bin Error
« Reply #3 on: December 23, 2011, 12:22:35 PM »
Sorcerer,

That's all correct. I'm not sure why you're getting errors. Sproggy is the XFCE expert, so I'll wait for him to reply.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Re: Trash Bin Error
« Reply #4 on: December 23, 2011, 01:59:39 PM »
PCLinuxOS XFCE 2011.07 desktop - Xfce version 4.8.1

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Re: Trash Bin Error
« Reply #5 on: December 23, 2011, 02:23:00 PM »
updated with Synaptic just a week ago

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Re: Trash Bin Error
« Reply #6 on: December 23, 2011, 03:23:05 PM »
Yep....complete update of everything.
Just completed another one.....5 updates total.....still same issue with trash bin.
Even after rebooting.

Offline Sorceror

  • New Friend
  • *
  • Posts: 9
Re: Trash Bin Error
« Reply #7 on: December 23, 2011, 03:50:03 PM »
I couldn't tell you what the md5sum is as this was downloaded using the torrent file just after the phoenix edition became available and then it was probably August/September when I installed.  It didn't really get used at all until now as I've brought it with me on extended holiday to play with as this is my first real serious move towards using Linux.

Must be one of those buggy things that happened at the point of install.
I could always try installing another distro as a dual boot and using that to delete......or even just through the live CD that would work too.
Come to think of it, I did have this dual booted with another distro which no longer boots up due to a missing directory so perhaps the hard drive might be starting to slip.....this laptop is about 6 years old.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Trash Bin Error
« Reply #8 on: December 23, 2011, 04:53:26 PM »
Hi,

Sproggy, yes, there is a torrent, here: http://torrent.ibiblio.org/doc/pclinuxos-live-cd-2011-7-release/211/torrents (all listed here).

Sorceror, would you look at the permissions in your home ? you can type "ls -l" in your home, and just in case, under /home as well. Ideally the folder for the user under /home should be 700, and the permissions for directories under /home/sorcerer should be 755, but they can also be 700, because the ownnership under each home's user is "user.user". (the user anyhow would have all rights and permissions on the directories).

Also look at the permissions of some files : .dmrc, .Xauthority, and particularly .local/share/Trash (and .local/share).

Regards,
Mélodie

« Last Edit: December 23, 2011, 04:55:48 PM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Trash Bin Error
« Reply #9 on: December 24, 2011, 01:30:25 AM »
Hello,

Sproggy, the files are also all at linuxtracker. You can see that here. (I see there were also added long after... )

When an iso is downloaded from torrent, there is a md5sum created, therefore the download should not be corrupted. It is even more secure for the integrity than a download from within a web browser as some people do. In any case a bad burn is always possible, or even a CD/DVD device with a lens dirty (even slightly) can corrupt a tiny part of the datas while installing (met with the case long ago, and reinstall fixed the problem).

Sorcerer, Just in case you still have the ISO and the CD, would you check md5sum on each of them ? If you need to know how, there is a page at the wiki, here.

When providing ISOS we might want to become more paranoiac, and also provide the sha1sum. :)

Before deciding to download anew and reinstall, I still would like the output of "ls -l" in the home directory and just above.

And what about gvfs ? Isn't it gvfs that rules the trashcan ? Maybe a reinstall of a few packages could be enough to fix the problem ? (Which ones have gvfs as dependancy ? Thunar ? some libs ? Maybe libxfcemcs ? It might be possible to try a reinstall of some packages ?)

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode