[Xfce-bugs] [Bug 12213] New: Broken files when copy from sshfs to USB disk

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Sep 13 19:00:23 CEST 2015


https://bugzilla.xfce.org/show_bug.cgi?id=12213

            Bug ID: 12213
           Summary: Broken files when copy from sshfs to USB disk
    Classification: Xfce
           Product: Thunar
           Version: unspecified
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: core
          Assignee: xfce-bugs at xfce.org
          Reporter: tkaserg at gmail.com
        QA Contact: nick at xfce.org
                CC: benny at xfce.org, hjudt at xfce.org

I am trying to copy several files from my remote storage over the home LAN.
The remote storage is mounted with sshfs

$ sshfs -V
SSHFS version 2.5
FUSE library version: 2.9.4
fusermount version: 2.9.4
using FUSE kernel interface version 7.19

Files are as follows:
$ du -k ./*
55628    ./100.65_forceware_winvista_32bit_international_whql.exe
152120    ./307.83-desktop-winxp-32bit-international-whql.exe
62888    ./93.71_forceware_winxp2k_international_whql.exe

I opened a new tab in Thunar, and opened the mounted USB drive.
It was mounted with uduskie. I am not using the built-in disk management in
Thunar.

Disk mounted as follows:
/dev/sdf on /media/USB DISK type vfat
(rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks)

$ udiskie -V
udiskie 1.2.0

I am using UDisks1 dbus service.


So, I copied files. The copy dialog disapper. Next, I clicked the "eject" icon
in the left pane of Thunar.

Ejected the USB flash drive from PC.

Connected once again. Files are corrupted:
$ du -k ./*
0    ./100.65_forceware_winvista_32bit_international_whql.exe
0    ./307.83-desktop-winxp-32bit-international-whql.exe
0    ./93.71_forceware_winxp2k_international_whql.exe

If you will not eject the USB disk drive immediately and wait few mins, files
will be copied properly.
It looks like Thunar does not perform "sync" or something like that.

When I copy the same files to the same location using Midnight Commander, there
is no copy issue happen.

My operating system is Arch Linux x64
$ uname -a
Linux main 4.1.5-1-ARCH #1 SMP PREEMPT Tue Aug 11 15:41:14 CEST 2015 x86_64
GNU/Linux
Thunar 1.6.10

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list