GNOME Bugzilla – Bug 82644
Can't drag file from desktop to trash
Last modified: 2004-12-22 21:47:04 UTC
I get the following message: Error "Not a directory" while moving "/home/styler/svmim.tmp". Would you like to continue? [Skip] [Retry] [Stop] This started happening (that I noticed anyway) with the lastest Ximian Snapshots.
I see this too, with CVS head/Linux. My home directory is NFS mounted, if that's of any interest (I mention it because dnd from things to the desktop doesn't work either, with a "Drag and drop is only supported to local file systems." message, which is pretty screwed.
Steve: are you on NFS as well? Jody, Dave, could this be a side-effect of the new is_local code somehow?
Yep, NFS mounted home directory.
I am on NFS too (I'm not sure to which "Steve" that question was addressed. It happens on any NFS mounted volume (which is /home in my case).
See also #83209 - this is a more general problem than this report makes it seem.
*** This bug has been marked as a duplicate of 83209 ***
The original problem ("Error "Not a directory" while moving "foo" to the trash can with drag and drop still happens. The 83209 problem is now gone, though - I can drag items to the desktop fine, but not into the trashcan.
What kind of files does this happen for? Directories, regular files? What kind of permissions do they have? What options did you use to mount nfs? Dragging things from nfs to the trashcan give me "'foo' cannot be moved to the Trash. Delete immediately?".
Happens for all files or directories. Was your trashcan on NFS? NFS options were: exec,dev,suid,rw,bg,rsize=4096,wsize=4096,intr
I can replicate this (on a different system from srn with nfs mounting options of rsize=4096,wsize=4096,soft,intr). To possibly clarify some of the confusion, it occurs when you drag files from a Nautilus window to a trashcan that is in a home directory where the home directory is mounted over NFS. Dragging, for example, a plain text file onto the trashcan gives the "Not a directory" message.
Don't think this is the same issue... but i can't move *any* files on NFS to the trash. I get a dialog saying ``"foo" cannot be moved to the Trash. Do you want to delete it immediately?''
OK, I can reproduce this. The problem was an is_local in fm-icon-view.c. I have a fix, but it depends on another patch that isn't in cvs. I'll get this in asap.
The fix is checked in.