vim-gtk can no longer save to non-group-writable files in GVFS SFTP mounts in 18.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
nautilus (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
vim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In Ubuntu 16.04, with gvim 7.4.1689, I can open files over GVFS SSH mounts (by going to `ssh://wherever` in the address bar in the file browser and double-clicking on the file), edit them, and save them.
In Ubuntu 18.04, when I install `vim-gtk` and try to do the same thing, I can open the files just fine, but when I try to save them I get a message that Vim "Can't open file for writing".
If I check out the Vim source tree and build and install vim v7.4.1689, which is what Xenial is shipping now, and use *that* gvim on Ubuntu 18.04, I can save over SSH mounts. I can also save fine from gedit.
Something is wrong with the gvim shipping with 18.04.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: vim-gtk (not installed)
ProcVersionSign
Uname: Linux 4.15.0-44-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 28 15:55:56 2019
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)
This is an interaction between vim and GVFS, so I've added GVFS as affected.