file creation in smb share gives app error

Bug #1789477 reported by Douglas King
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fuse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

*Steps to reproduce:*
I found the easiest way to reproduce this is to use vim as follows:
Mount the share using the gnome file manager

cd /run/user/1000/gvfs/smb-share:server=myServer,share=0test
ls -a # make sure that there are no .filename.tmp files
vim newfile

*Result*
At this point, vim creates a .newfile.swp file, but receives a message from fuse that the file already exists, causing vim to throw an error that the swap file already exists.

*Expected Result*
At this point, vim creates a .newfile.swp file, receiving no error, and then opens to edit the new file without error

NOTES:
The issue does not occur local filesystem or on the same share mounted via cifs.

lsbrelease -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04

fuse version 2.9.7-1ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: fuse 2.9.7-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 28 14:18:06 2018
InstallationDate: Installed on 2018-05-08 (112 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: fuse
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Douglas King (douglask) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fuse (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.