Gnome trash on cifs mount random behaviour
Posted
by
BobPenguin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by BobPenguin
Published on 2011-03-01T19:40:38Z
Indexed on
2011/03/01
23:32 UTC
Read the original article
Hit count: 404
Hello everyone, I'm seeing some weird behaviour in Ubuntu 10.04. I have a cifs mount that's mounted by fstab as follows:
//192.168.1.1/share /media/storage
cifs_netdev,username=guest,password="",uid=1000,guid=100,file_mode=0777,dir_mode=0777 0 0
I can mount the share using:
sudo mount -a
my user can then access it, create and delete files. The deleted files appear in the gnome trash applet. A folder /media/storage/.Trash-1000
is created automatically.
When I log out, restart the machine and log in, the cifs share is mounted but the trash applet is empty. If I unmount the share with sudo umount /media/share
then remount with sudo mount -a
the trash applet displays the contents of the .trash-1000
folder!
It gets stranger...sometimes after umount
then mount -a
the trash is STILL empty, but another round of umount
then mount -a
fixes it.
It seems like the trash applet is "forgetting" to scan the /media/storage
mount point and is not always finding the .trash-1000
folder at that mount point. Even when the trash applet is not displaying any trash from /media/storage/.trash-1000
I can still delete things from the /media/storage
and they're moved to the .trash-1000
folder.
So I conclude there's a bug in the trash applet...anyone know how to fix it?
© Ask Ubuntu or respective owner