Public bug reported:

I cannot edit files on a Windows share that is smb-mounted by Ubuntu
using VI, VIM or GVIM.

Other applications on Ubuntu do not have this problem, including GEDIT
and LibreOffice

Bizarrely I can create a file with VI, VIM and GVIM, but saving changes in any 
subsequent edit session fails with:
E212: Cannot open file for writing

I attach a screenshot of the problem showing the error when I am in the mounted 
directory:
/run/user/1000/gvfs/smb-share:server=jcpr-dell-3,share=e/temp/uplay

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: vim-gtk3 2:8.1.2269-1ubuntu5
ProcVersionSignature: Ubuntu 5.8.0-44.50~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-44-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar  5 10:19:47 2021
ExecutablePath: /usr/bin/vim.gtk3
InstallationDate: Installed on 2020-11-11 (113 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "Screenshot from 2021-03-05 09-20-29.png"
   
https://bugs.launchpad.net/bugs/1917871/+attachment/5473346/+files/Screenshot%20from%202021-03-05%2009-20-29.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1917871

Title:
  VIM cannot update file on SMB share

Status in vim package in Ubuntu:
  New

Bug description:
  I cannot edit files on a Windows share that is smb-mounted by Ubuntu
  using VI, VIM or GVIM.

  Other applications on Ubuntu do not have this problem, including GEDIT
  and LibreOffice

  Bizarrely I can create a file with VI, VIM and GVIM, but saving changes in 
any subsequent edit session fails with:
  E212: Cannot open file for writing

  I attach a screenshot of the problem showing the error when I am in the 
mounted directory:
  /run/user/1000/gvfs/smb-share:server=jcpr-dell-3,share=e/temp/uplay

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: vim-gtk3 2:8.1.2269-1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-44.50~20.04.1-generic 5.8.18
  Uname: Linux 5.8.0-44-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.16
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar  5 10:19:47 2021
  ExecutablePath: /usr/bin/vim.gtk3
  InstallationDate: Installed on 2020-11-11 (113 days ago)
  InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
  SourcePackage: vim
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1917871/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to