Re: [Bug 371289] Re: fail to delete directory over sshfs with nautilus
Not to be bitching about things or something, but i first posted this at 21 - 06 - *2010* , we're 3 years later and i still can't see a "Yo, this is a problem which is gonna be fixed by *me / *him or her / isn't gonna be fixed because it's a feature / whatever To get into some politics , whenever i install a new ubuntu i often get a nice GUI message when something failes: "Would you like to submit a bug report" . Tell me, why should i want that ? 2013/8/8 elatllat <371...@bugs.launchpad.net> > ** Changed in: nautilus (Ubuntu) >Status: Triaged => Confirmed > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/371289 > > Title: > fail to delete directory over sshfs with nautilus > > Status in Nautilus: > New > Status in “nautilus” package in Ubuntu: > Confirmed > > Bug description: > fail to delete non-empty directory over sshfs from nautilus by > pressing the delete key. with "Error removing file: Operation not > permitted" > > works if you empty the folder first. > > dir is "chmod -R 0777 folder" > > mount command was "sshfs me@myServer:/ /media/myServer" > > server: > 2.6.24-23-generic #1 SMP Wed Apr 1 21:47:28 UTC 2009 i686 GNU/Linux > updated (not dist-update) Sun May 3 11:42:32 EDT 2009 > > client: > 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 > GNU/Linux > updated Sun May 3 11:42:32 EDT 2009 > > it's like nautilus is asking for a "rm -f file" when it should be > asking for a "rm -fr file" > > To manage notifications about this bug go to: > https://bugs.launchpad.net/nautilus/+bug/371289/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/371289 Title: fail to delete directory over sshfs with nautilus To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/371289/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 371289] Re: fail to delete directory over sshfs with nautilus
Indeed this also affects me. i mount a directory on the server on my client with sshfs. sshfs u...@server.com:/home/user /mnt -o reconnect -o big_writes -o compression=yes In the directory /home/user on the server I can delete non-empty directories in Nautilus EXCEPT when they are on a seperate (usb)disk (/dev/sdb1) that is mounted on /home/user/external_disk "rm -r /mnt/external_disk/non_empty_directory" works fine. In nautilus i first get "Cannot move to trash", "Operation not permitted" when i choose "Delete immidiately" i get an "Error while deleting", "Operation not permitted" The problem boils down to this: Removing non-empty dirs in Nautilus works fine through sshfs when the dirs are on the same disk as the mounted volume, but fail when removing non-empty dirs on a different disc than the mounted directory. /mnt ---> ss...@server:/home/user/externaldisc/ , then Nautilus remove 'subdir' works fine... /mnt ---> ss...@server:/home/user/ , then Nautilus remove 'externaldisc/subdir' fails... kind regards, -- fail to delete directory over sshfs with nautilus https://bugs.launchpad.net/bugs/371289 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 371289] Re: fail to delete directory over sshfs with nautilus
2011/4/17 rshadow <371...@bugs.launchpad.net>: > Create .Trash directory is not fix the problem. I think we need `rm -fr` > for . Indeed, creating a .Trash directory is not the answer. Nautilus gives the option when i try to delete: "Can't move to trash, do you want to skip op delete" When i click delete, it deletes regular files just fine and empty directories are also deleted fine. Except non-empty directoties, those give the error "Permission denied", but since i clicked "delete" it should bypass the .Trash directory alltogether. I don't think "rm -rf" is the answer either. Because this isn't exactly the error which you'd expect when delete when "rm -rf" would be the answer. On a local filesystem: rvl@home:~$ mkdir d rvl@home:~$ touch d/f rvl@home:~$ rm d rm: cannot remove `d': Is a directory rvl@home:~$ rmdir d rmdir: failed to remove `d': Directory not empty So something tells me that "rm -rf" won't work either, (and i guess that rm -rf is already used) man rm: -f, --force ignore nonexistent files, never prompt So the -f won't fix a permission problem. -- Robin van Leeuwen | http://www.rldsoftware.nl | Public Key: http://www.rldsoftware.nl/key.txt -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/371289 Title: fail to delete directory over sshfs with nautilus -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 371289] Re: fail to delete directory over sshfs with nautilus
>2011/5/15 Robin van Leeuwen : > 2011/4/17 rshadow <371...@bugs.launchpad.net>: >> Create .Trash directory is not fix the problem. I think we need `rm -fr` >> for . > > Indeed, creating a .Trash directory is not the answer. Nautilus gives > the option when i try to delete: > > "Can't move to trash, do you want to skip op delete" > > When i click delete, it deletes regular files just fine and empty > directories are also deleted fine. > Except non-empty directoties, those give the error "Permission > denied", but since i clicked "delete" > it should bypass the .Trash directory alltogether. > > I don't think "rm -rf" is the answer either. > Because this isn't exactly the error which you'd expect when delete > when "rm -rf" would be the answer. > > On a local filesystem: > > rvl@home:~$ mkdir d > rvl@home:~$ touch d/f > rvl@home:~$ rm d > rm: cannot remove `d': Is a directory > rvl@home:~$ rmdir d > rmdir: failed to remove `d': Directory not empty > > So something tells me that "rm -rf" won't work either, (and i guess > that rm -rf is already used) > > man rm: > -f, --force > ignore nonexistent files, never prompt > > So the -f won't fix a permission problem. > Robin van Leeuwen | http://www.rldsoftware.nl | Public Key: > http://www.rldsoftware.nl/key.txt > This is all on natty (11.04) by the way -- Robin van Leeuwen | http://www.rldsoftware.nl | Public Key: http://www.rldsoftware.nl/key.txt -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/371289 Title: fail to delete directory over sshfs with nautilus -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 371289] Re: fail to delete directory over sshfs with nautilus
It seems to be a problem in accessing the .Trash directory. -- fail to delete directory over sshfs with nautilus https://bugs.launchpad.net/bugs/371289 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs