Bug#892841: Opening a file with O_CREAT fails

2018-10-10 Thread Yuri D'Elia
Package: smbnetfs Version: 0.6.1-1 Followup-For: Bug #892841 The patch provided by Alexander fixes the issue in my case. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug') Architecture: amd64

Bug#892841: Opening a file with O_CREAT fails

2018-08-31 Thread Alexander Volkov
The fix is in the attached patch. >From d4720c44fb2c8c2b891bd07fbf6d44a2333f8c56 Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Wed, 29 Aug 2018 13:54:23 +0300 Subject: [PATCH] fix opening a file with O_CREAT and reading created files FUSE calls fgetattr() for a created file which leads

Bug#892841: Opening a file with O_CREAT fails

2018-03-13 Thread Yuri D'Elia
Package: smbnetfs Version: 0.6.1-1 Severity: important At least since 0.6.0, any attempt to use open(2) with O_CREAT on a mounted smb filesystem fails with EIO (Input/output error). The file is created, with has a size of 0. This is a call caused by "cp" traced with strace: openat(AT_FDCWD,