GNOME Bugzilla – Bug 655159
Cannot remove files from sshfs mount
Last modified: 2013-01-31 23:17:55 UTC
When you want to remove a folder on a sshfs mount, nautilus fails: Warning: --- Cannot move file to trash, do you want to delete immediately? The file "FFS 2011-07-23 035751" cannot be moved to the trash. --- Yes, delete immediately. Error: --- There was an error deleting FFS 2011-07-23 035751. Error removing file: Operation not permitted --- But in terminal window, there is no problem: -- $ rm -r FFS\ 2011-07-23\ 035751/ $ -- (same user, not as root) (Tested on Ubuntu 11.04, Nautilus 2.32.2.1)
(sshfs mounted in my home folder, target was a folder on a Windows 7 machine running cygwin.)
This bug only seems to affect folders with files created from the host computer (the one that has the sshfs mount). Folders that were already on the target machine (cygwin) delete fine.
There is a similar error with folders and files created on the target machine. A folder containing files cannot be removed. Removing the files works without a problem. After all the contents have been removed, removing the empty folder is not a problem either. But, during this process, Nautilus randomly crashes. Like *poof* window gone. I was cleaning out my tv recordings over sshfs with Nautilus 2.32.2.1 and Nautilus poof-crashed 5 times. The sshfs mount remained intact, that was not it. Come on guys this is rather important. Please someone confirm!
Duplicate: https://bugzilla.gnome.org/show_bug.cgi?id=565677
OK closing as a duplicate. *** This bug has been marked as a duplicate of bug 565677 ***