2011/4/17 rshadow <[email protected]>:
> Create .Trash directory is not fix the problem. I think we need `rm -fr`
> for <Shift+Delete>.

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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/371289

Title:
  fail to delete directory over sshfs with nautilus

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to