Copying creates inaccessible files

Bug #1211930 reported by Ken Sharp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sshfs-fuse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Copying a full directory over sshfs creates a whole load of inaccessible, useless data. See "Directory copy.log". No errors reported at all.

The original files can be shown in "sdcard.log".

I then tried copying individual files from the server to the client machine and the data itself appeared to copy, but not all the permissions were set correctly. See "Individual copy.log". No errors reported either.

Basically, sshfs doesn't seem to have any idea what it's supposed to do.

This appears to have started occurring around the same time that Bug 1211002 appeared.

Server is Dropbear sshd v0.53.1, modified (in some way) to be dropped by SSHDroid (https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: sshfs 2.3-1ubuntu0.1
ProcVersionSignature: Ubuntu 3.2.0-51.77-generic 3.2.48
Uname: Linux 3.2.0-51-generic x86_64
NonfreeKernelModules: wl fglrx
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Tue Aug 13 19:00:30 2013
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: sshfs-fuse
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in sshfs-fuse (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Adam (7ql6) wrote :

I'm having the same issue on Ubuntu 18.04.4 LTS which seems to have sshfs 2.8.

It seems to be the same or similar to this upstream bug:
https://bugs.kde.org/show_bug.cgi?id=383069

And it should be fixed in sshfs 3.2.1 (which obviously is not in Ubuntu 18.04.4 LTS).

This bug happens when I try to copy/move many files and destroyed a lot of pictures in my case ( https://stackoverflow.com/questions/60434201/how-to-repair-jpegs-like-okular-sees-them ).

Revision history for this message
Alexander Adam (7ql6) wrote :

I tried version 2.10+repack-2, which is the "newest" package I found that was installable with dependencies on 18.04.4 (newer deb packages seem to rely on newer dependencies that aren't available in 18.04).
The version still has this bug, though.

Does anyone have a hint how to get a newer (=bug-free) version of sshfs?

Revision history for this message
Ken Sharp (kennybobs) wrote :

You can compile from source but nobody has mentioned if this bug is fixed. File corruption is not the bug reported here.

summary: - Copying files creates useless data
+ Copying creates inaccessible files
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.