Re: nautilus/trash/nfs trouble
- From: "Le Lain, Olivier" <olivier lelain xrce xerox com>
- To: nautilus-list gnome org
- Subject: Re: nautilus/trash/nfs trouble
- Date: Fri, 04 Feb 2005 09:22:39 +0100
First sorry for the spam : I post twice (maybe third) because I posted
it with the wrong from field..anyway.
The way the trash is working is even more complicated for me since I've
made this little test :
Let's consider this directory :
It's an automounted directory. I make a "cd /opt/software"
Entry in /proc/mounts is :
Servername:/software /opt/software nfs
rw,v3,rsize=32768,wsize=32768,hard,tcp,lock,addr=Servername 0 0
In nautilus, I go to the /opt/software location
Then I move to trash a file-let's say "zz"-what I have :
- no error message
- .Trash-myself directory is created in /opt/software and zz is moved
- Nothing in the the trash desktop (the "trash:" uri)
I delete de .Trash-myself and then directly mount the same directory :
mount Servername:/software /mnt/network
Entry in /proc/mounts is :
Servername:/software /mnt/network nfs
In nautilus, I go to the /mnt/network location
Then I move to trash a file-let's say "zz" again -what I have :
- error message : "error while deleting , not on the same filesystem..."
- .Trash-myself is anyway created
- no zz file in it
Really strange no ?
Le Lain, Olivier wrote:
I have a trouble I try to resolve for 2 days :
In my corp , stations are in Fedora Core 3 but they all access their
gnome-2.8 environment via NFS ( prefix is /opt/gnome , automounted)
All users have their home directory also automounted. They can only
acess the /local directory on their stations.
It's working like a charme except this :
Gnome-vfs always creates correctly a trash folder in all mounted
So I guess gnome-vfs is well working (every deleted file are put in the
right .Trash directory)
But the trash icon on the desktop only shows the /local/.Trash-me
folder. Ie the nautilus trash "api" doesn't merge the NFS .Trash folders.
I even recompile nautilus to make nautilus_directory_is_local always
returning true but without success.
The most annoying is that if I log on a station choosing the local gnome
installed by Fedora instead of those installed in /opt, it's working (
NFS trash folders are seen !!).
The local Fedora and my network gnome runs the same processes
(gnome-volume-manager, gam, etc...)
gnome-vfs version is 2.8.3 and nautilus is 2.8.2
strace -f shows me nautilus (or children) access /home/me/.trash and
Any help (even only ideas to debug) would be greatly appreciated
because neither strace, neither comparing /et/gconf and
/opt/gnome/etc/gconf , neither the fedora patches gave me clues.
Maybe it's a hint but the "automount" option of gnome-storage-manager
doesn't seem to work.
] [Thread Prev