Tuesday, October 19, 2010

Re: persistent undo stops working on sshfs if undodir is set

Well, sshfs is a fuse based filesystem for ssh. I just mount a remote
dir like this...

$ sshfs hostname: directory

I set undodir and friends like this.

if exists("&undofile")
set undodir=/tmp
set undofile
set undolevels=1000
set undoreload=10000
endif

And if undodir is not inside the mounted dir it doesn't seem to work.
I'm saying this because if I set undodir inside the sshfs mounted
directory it actually works for that specific mount.

And like I said in my other mail this only seem to happen for OpenSSH <=5.1,
at least. This is on the server side, the client I tested from always ran
5.5.

Thanks in advance!
// Mattias

* Bram Moolenaar (Bram@Moolenaar.net) wrote:
>
> Mattias Fliesberg wrote:
>
> > I noticed that persistent undo stopped working for files on a sshfs
> > mounted filesystem when I set undodir. Is this a "feature" or a bug?
>
> Relevant details are missing. Please explain more clearly. Such as,
> what is "sshfs"? How do you use it? What do you set 'undodir' to?
> How do you notice that persistent undo stopped working?
>
> --
> GALAHAD: No, please. Please! I can defeat them! There's only a hundred.
> GIRLS: He will beat us easily. We haven't a chance.
> "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
>
> /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
> /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\ download, build and distribute -- http://www.A-A-P.org ///
> \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: